ASP GetDriveName Method
Complete FileSystemObject Object Reference
The GetDriveName method returns a string that contains the drive name of the specified path.
Syntax
|
FileSystemObject.GetDriveName(path)
|
| Parameter |
Description |
| path |
Required. The path that will return a drive name |
Example
<%
dim fs,dname
set fs=Server.CreateObject("Scripting.FileSystemObject")
dname=fs.GetDriveName("c:\test\test.htm")
Response.Write(dname)
set fs=nothing
%>
Output:
c:
|
Complete FileSystemObject Object Reference
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|