Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Drive Object FileSystem Property

Returns the type of file system in use for the specified drive. This property is not available under UNIX.

Syntax: JScript Drive Object FileSystem Property

object.FileSystem

Arguments: JScript Drive Object FileSystem Property

object

A Drive object.

Remarks: JScript Drive Object FileSystem Property

Available return types include FAT, NTFS, and CDFS.

The following code illustrates the use of the FileSystem property:

function ShowFileSystemType(drvPath)

{

var fs,d, s;

fs = new ActiveXObject("Scripting.FileSystemObject");

d = fs.GetDrive(drvPath);

s = d.FileSystem;

Response.Write(s);

}

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.