取得指定驱动器的文件系统信息

代码:

<!DOCTYPE html>

<html>

<body>

 

<%

dim fs, d, n

set fs=Server.CreateObject("Scripting.FileSystemObject")

set d=fs.GetDrive("c:")

Response.Write("The file system is: " & d.FileSystem)

set d=nothing

set fs=nothing

%>

 

</body>

</html>

结果:

The file system is: NTFS

相关文章