Buradasın
File System Object Usage in VBScript
automationtestanything.blogspot.com/2017/09/usage-of-file-system-object-in-vbscript.htmlYapay zekadan makale özeti
- Introduction
- FSO enables folder, file and drive operations in Windows environment
- Object provides access to Drive, Files, Folders and Textstream collections
- Creating and Accessing Objects
- FSO object created using CreateObject("Scripting.FileSystemObject")
- Drive objects provide information about drive type and space usage
- Folder objects enable creation, deletion, copying and moving of folders
- File Operations
- CreateTextFile creates new files with various extensions
- OpenTextFile opens and manages text files with different modes
- Write and Read methods allow text manipulation in files
- CopyFile and MoveFile perform file and folder operations
- Folder Management
- FolderExists verifies existence of folders
- Folder objects provide information about creation, last access and modification dates
- FolderSubFolders collection contains subfolders within a folder
- File Formatting
- Unicode/ASCII options available for file creation
- TristateTrue (-1) opens files in Unicode format
- TristateFalse (-0) opens files in ASCII format