ASP FileSystemプロパティ
Drive オブジェクトの完全なリファレンス
FileSystem プロパティは、指定されたドライブで使用されているファイルシステムを返します。
このプロパティは、次のいずれかの値を返すことができます:
- FAT - リムーバブルドライブ
- CDFS - CD-ROM ドライブ
- FAT、FAT32 または NTFS - Windows 2000 または Windows NT 上のハードディスクドライブ
- FAT または FAT32 - Windows 9x 上のハードディスクドライブ
構文
DriveObject.FileSystem
例
<%
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
%>
出力:
The file system in use is: NTFS
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
%>
出力:
The file system in use is: NTFS
Drive オブジェクトの完全なリファレンス その他の拡張