Recursively Change File Attributes in a Given Directory
Category:Files and Directories
Version Compatibility: Visual Basic 6, Visual Basic Script
The snippet of code included here utilizes the VB InputBox function to accept and pass in a directory path. This path is verified and the user is then asked to say yes or no to continuing the job. This can be easily placed into a function to be more efficient and reusable.
Instructions: Copy the declarations and code below and paste directly into your VB project.