We can use the Microsoft scripting runtime object library for working easily with files and folders.
Start with opening the references and checking the Microsoft scripting runtime library.
This gives a lot of objects collections, methods and properties in the scripting library.
You can browse through them by opening the object library.
Given below is a sample code for exploring few possibilities of the file system object.
Put any folder link in the range(A2) and see the following information about the folder.
Sub Directories, Total Count of Files, File Types, Count of File Types , Size of Folder
Please find the file link below to see and explore the file.
========================================================================
========================================================================
Will write another blog on exploring properties of file methods.
Please put your thoughts and comments below so that I can improve.
THANKS EVERYONE.
SUBHAJIT.
.
To Download the example file:
Please click this Google Drive Link
THANKS EVERYONE.
SUBHAJIT.
.
To Download the example file:
Please click this Google Drive Link
No comments:
Post a Comment