Raymo12
asked on
How to export file and folder structure to excel spreadsheet
Experts,
I need a script that I can run against file servers to export the folder structure and file lists to a spreadsheet or a csv file that I can import into a spreadsheet. We need to share this with management so they can decide what directories are mission critical.
Thanks in advance for your help
I need a script that I can run against file servers to export the folder structure and file lists to a spreadsheet or a csv file that I can import into a spreadsheet. We need to share this with management so they can decide what directories are mission critical.
Thanks in advance for your help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
billprew I actually don't need size and date just folders and files if possible. Pretty much management wants to see whats on each server and decide on a retention plan.
Thanks matthewspatrick I'll have a look at your solution and report back.
Thanks matthewspatrick I'll have a look at your solution and report back.
ASKER
mathewspatrick that is one sweet vb module! Is there anyway I can run it against a drive without selecting a folder? I'm trying to think of a way to list all the contents of Server A D:\drive as an example
All you should need to do is select the drive in the dialog box (see attached image).
If you select a drive, you can enumerate it.
Of course, if you choose to drill into the subfolders, you could run out of rows in your Excel worksheet :)
Patrick
Q-26457651.bmp
If you select a drive, you can enumerate it.
Of course, if you choose to drill into the subfolders, you could run out of rows in your Excel worksheet :)
Patrick
Q-26457651.bmp
ASKER
Yes, I meant if I were to want to run this on a remote server within the same network. Like browse to a server and it's drive. It seems to work if I map that drive first so that should be sufficient.
Thank you very much for your help!
Thank you very much for your help!
ASKER
Thanks!
~bp