Object |
Property |
Description |
Drive |
AvailableSpace |
amount of space free in the drive or network share
in bytes |
DriveLetter |
string representing drive letter |
DriveType |
0=unknown,1=removable,2=fixed,3=network,4=CD-ROM,5-RAM Disk |
FileSystem |
string with FS format: FAT, FAT32,NTFS,CDFS |
FreeSpace |
long integer with free space in bytes, same as
AvailableSpace |
IsReady |
boolean value set to ready or not |
Path |
physical path of the drive, represented by the object |
RootFolder |
returns the root folder object |
SerialNumber |
decimal number uniquely identifying the drive |
ShareName |
string, network share name corresponding to drive |
TotalSize |
total size of the drive in bytes |
VolumeName |
string, volume name of the drive |
File |
Attributes |
depends on FileSystem |
DateCreated |
date file created |
DateLastAccessed |
date last accessed |
DateLastModified |
date last changed |
Drive |
drive letter of drive which holds file |
Name |
string, file name |
ParentFolder |
name of folder file resides |
Path |
physical path of the file |
ShortName |
the 8.3 format name of the file |
ShortPath |
the 8.3 format Path |
Size |
size in bytes of file |
Type |
string, type obtained from file associations |
Folder |
Attributes |
depends on FileSystem |
DateCreated |
date file created |
DateLastAccessed |
date last accessed |
DateLastModified |
date last changed |
Drive |
drive letter of drive which holds folder |
IsRootFolder |
boolean, indicates if is or not root folder of a drive |
Name |
string, folder name |
ParentFolder |
string, parent folder name |
Path |
physical path of the folder |
ShortName |
the 8.3 format name of the folder |
ShortPath |
the 8.3 format Path of the folder |
Size |
size in bytes of all of the folders's content |
TextStreamObject |
AtEndOfLine |
boolean, indicating end of line or not |
AtEndOfStream |
boolean, indicating if end of text file |
Column |
integer, column number in a line of text |
Line |
inteber, line number within a text file |
Object |
Method |
Description |
FileSystem |
BuildPath |
appends a folder name to a path |
CopyFile |
similar to File.Copy |
CopyFolder |
copies folders |
CreateFolder |
creates a new folder |
CreateTextFile |
creates a new text file |
DeleteFile |
similar to File.Delete |
DeleteFolder |
deletes folder and its contents |
DriveExists |
checks if drive exist in the system |
FileExists |
checks if file exist in the system |
FolderExists |
checks if folder exist in the system |
GetDrive |
gets the drive object of a file or folder |
GetDriveName |
gets the drive name of a file or folder |
GetFile |
retrieves a file |
GetFileName |
retrieves the file name from a path |
GetFileVersion |
version of the file or null |
GetFolder |
retrieves a folder |
GetFolderName |
retrieves the folder name from a path |
GetParentFolderName |
name of parent folder |
MoveFile |
similar to File.Move |
MoveFolder |
move a folder |
OpenTextFile |
opens for read, write and append |
File |
Copy |
copies files |
Delete |
deletes the file |
Move |
moves files |
OpenAsTextStream |
opens for reading, writing, appending |
Folder |
Copy |
copies folders |
Delete |
deletes the folder |
Move |
moves folders |
CreateTextFile |
creates a new text file |
TextStream |
Close |
closes the current text file |
Read |
read specified number of characters |
ReadAll |
reads all characters from an open text file into
a string |
ReadLine |
reads a line from the text file |
Skip |
skips a specified number of characters |
SkipLine |
skips a specified number of lines |
Write |
writes a specified string to an oen text file |
WriteBlankLines |
writes a specified number of newlines to file |
WriteLine |
Writes a line of text to file |