Just found this....
I was needing to find a way to pull out all of the file extensions in bulk so they could be imported into Salesforce in one way or another.
Simply open the command prompt and type the following
dir c:\users\josh\desktop\foldername /b /s >c:\users\josh\desktop\outputfile.txt
The /b gives you a 'bare' file with just the extensions and nothing else
The /s gives you all of the sub-folders within that folder that you are looking into
The '>c:\users\josh\desktop\outputfile.txt' outputs the file into a text document
http://spreadsheetpage.com/index.php/tip/getting_a_list_of_file_names/
No comments:
Post a Comment