PureBasic - FileSystem
Overview
FileSystem is a generic term which deal with all advanced file related manipulations. For example, it's possible to read a directory content, create a new directory and more...
If you want to examine the contents of a directory start with the ExamineDirectory() command.
In addition to the commands in this library you will also commands for manipulating file contents in the File library and the Misc library commands GetFilePart(), GetPathPart() and GetExtensionPart() for splitting a filename into file, path and extension part. To get the name of a running program use the command ProgramFilename() from the Process library.
Command Index
CheckFilename
CopyDirectory
CopyFile
CreateDirectory
DeleteDirectory
DeleteFile
DirectoryEntryAttributes
DirectoryEntryDate
DirectoryEntryName
DirectoryEntrySize
DirectoryEntryType
ExamineDirectory
FileSize
FinishDirectory
GetCurrentDirectory
GetFileAttributes
GetFileDate
GetHomeDirectory
GetTemporaryDirectory
IsDirectory
NextDirectoryEntry
RenameFile
SetCurrentDirectory
SetFileAttributes
SetFileDate
Example
FileSystem.pb
Supported OS
All