ASP GetSpecialFolder Method
Definition and Usage
The GetSpecialFolder method returns the path of the special folders in Windows.
Syntax:
FileSystemObject.GetSpecialFolder(foldername)
Parameter | Description |
---|---|
foldername | Required. The folder to be returned.
|
Instance
<% dim fs,p set fs=Server.CreateObject("Scripting.FileSystemObject") set p=fs.GetSpecialFolder(1) Response.Write(p) set p=nothing set fs=nothing %>
Output:
C:\WINNT\system32