BadDogTitan
New Member
- Joined
- Sep 16, 2013
- Messages
- 18
The command
lists every folder, subfolder and file except for system files on a worksheet. I want the user to be able to select a folder, and obtain this result without having to run a command prompt.
Is there a way to run this command from VBA?
Thanks.
Code:
dir /S /B /A:-S > FileList.xls
Is there a way to run this command from VBA?
Thanks.