W3Schools.com

ASP FileSystem Property


Drive Object Reference Complete Drive Object Reference

The FileSystem property returns the file system in use for a specified drive.

This property will return one of the following:

  • FAT - for removable drives
  • CDFS - for CD-ROM drives
  • FAT, FAT32 or NTFS - for hard disks on Windows 2000 or Windows NT
  • FAT or FAT32 - for hard disks on Windows 9x

Syntax

DriveObject.FileSystem

Example

<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The file system in use is: " & d.FileSystem)
set d=nothing
set fs=nothing
%>

Output:

The file system in use is: NTFS


Drive Object Reference Complete Drive Object Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE