Tutorial-Web Home > The FileSystem Object > The Folder Object

Object Menu

Drive
File
Folder
Attributes
DateCreated
DateLastAccessed
DateLastModified
Drive
Files
IsRootFolder
Name
ParentFolder
Path
ShortName
ShortPath
Size
SubFolders
Type
Copy
Delete
Move
CreateTextFile
FileSystem
TextStream

 


 
Path
TypeRead-Only Property
Return Value TypeString
Usageobject.Path(Folder)
DescriptionDetermines the full path of the folder.
ExampleCode:
subdirectoryname="testagain"
directoryname="c:\test\" & subdirectoryname
Set fso = CreateObject("Scripting.FileSystemObject")
set mainfolder=fso.GetFolder(directoryname)
response.write mainfolder.Path

Result:
c:\test\testagain

The Bookworm
Search the Tutorial-Web library for books on any topic!
Sponsors

Search Now:
In Association with Amazon.com