Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Methods
FileSystemObject Object
METHOD: FileSystemObject.GetSpecialFolder
Implemented in version 2.0
object.
GetSpecialFolder
(foldername)
This method is used to get the path for one of Windows' special folders. These folders are:
0 - WindowsFolder, containing the files installed by the operating system.
1 - SystemFolder, containing fonts, libraries and device drivers required by the operating system.
2 - TemporaryFolder, used to store temporary (.TMP) files.
Code:
<%
dim filesys, f
Set filesys = CreateObject("Scripting.FileSystemObject")
Set f = filesys.GetSpecialFolder(1)
Response.Write ("The path to your System folder is '" & f & "'." )
%>
Output:
"The path to your System folder is 'C:\WINNT\system32'."
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information