Microsoft® JScript® FileSystem Property |
Scripting Run-Time Reference Version 3 |
Description
Returns the type of file system in use for the specified drive.
Syntax
object.FileSystemThe object is always a Drive object.
Remarks
Available return types include FAT, NTFS, and CDFS.The following code illustrates the use of the FileSystem property:
function ShowFileSystemType(drvPath) { var fso,d, s; fso = new ActiveXObject("Scripting.FileSystemObject"); d = fso.GetDrive(drvPath); s = d.FileSystem; return(s); }