ASP DriveExists Method
Complete FileSystemObject Object Reference
The DriveExists method returns a Boolean value that indicates whether a
specified drive exists. It returns True if the drive exists and False if not.
Syntax
FileSystemObject.DriveExists(drive)
|
| Parameter |
Description |
|
drive |
Required. A drive letter or a complete path specification |
Example
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
if fs.DriveExists("c:")=true then
response.write("Drive c: exists!")
else
response.write("Drive c: does not exist.")
end If
set fs=nothing
%>
|
Complete FileSystemObject Object Reference
Want To Be A Web Master?
If you want to be a Web Master, you will have to host your web site with an ISP (Internet Service Provider).
MaximumASP offers seven different configurations of dedicated servers to meet your Windows and .NET hosting needs.
Hosted on our multi-tiered Enterprise Class network, these servers provide the performance, security and reliability
you need to host your high end web sites and applications.
Visit MaximumASP
|