Service Functions – System (QTP, VBScript)
In the code examples I present I often refer to routine functions.
In my framework I have specialized libraries to call from. In my blog I maintain the similar structure.
FileSystemObject (FSO)
FileSystemObject is a primary “interface object” for the all standard Drive/File/Folder operations: retrieving information (Drive), creating/renaming/deleting and getting/setting properties/attributes (Folders and Files), reading/writing text files.
Functions
How to generate a unique file name if the file name already exists in the given folder
How to duplicate an existing file
Generating text file from XML template (QTP, VBScript)
How To (answers)
How to separate file name and path
How to create a unique subfolder
Processing files contained in a folder
One response to "Service Functions – System (QTP, VBScript)"
Hi Albert,
i read ur blog and use coding examples from it.
i have a problem i need to create folder that have subfolders and files inside. Can you put example for it… thanks!