FileSystemObject – Working with Files and Folders
Disclaimer
All the content referenced below does not copy or represent a commercial solution. This is a collection of ideas and implemented concepts, research and investigations results. If you use it, you use it at your own risk.
Copyright
Please make sure you have read, understood, and agreed with Copyright and Content policy.
Unauthorized use and/or duplication of materials from this blog without express and written permission from this blog’s author and owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Albert Gareev with appropriate and specific direction to the original content.
Unless otherwise stated, all code examples, functions, function libraries, workarounds, etc. are created by Albert Gareev, and are copyrighted.
You may use them to design, develop and test your own software. You may modify the original source code as you need.
However, you must ensure that full and clear credit is given to Albert Gareev with an appropriate and specific direction to the original content. If your Employer’s policies restrict that then you may not use the source code provided.
Basic Functionalities
How to separate file name and path
Basic Tasks
How to generate a unique file name if the file name already exists in the given folder
How to duplicate an existing file
How to create a unique subfolder
Intermediate Tasks
Processing files contained in a folder
Checking structure of created folders
Advanced Tasks
Text File compare in “WDIFF” style
Complex Tasks
Generating text file from XML template
Taking snapshot of a folder structure