ASP FileSystem అంశం

నిర్వచనం మరియు వినియోగం

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: FAT