ASP GetSpecialFolder Method
Complete FileSystemObject Object Reference
The GetSpecialFolder method returns the path to some of Windows' special
folders.
Syntax
FileSystemObject.GetSpecialFolder(foldername) |
Parameter |
Description |
foldername |
Required. The folder to be returned.
0=WindowsFolder - Contains files installed by the Windows operating system
1=SystemFolder - Contains libraries, fonts, and device drivers
2=TemporaryFolder - Used to store temporary files |
Example
<%
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
|
Complete FileSystemObject Object Reference
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a fully functional free 30-day trial today!
|