ghudson
Registered User.
- Local time
- Today, 02:42
- Joined
- Jun 8, 2002
- Messages
- 6,194
Is it possible to search a specific network drive and rename all files that have a comma in the file name? (Don't ask why but they do ;-)
I need to search a network drive, find and rename hundreds of files that have a comma within the file name. I need the file name to basically stay the same. I just want to replace the comma with an underscore character. Like this...
October,21,1998.xls should be renamed to October_21_1998.xls
Period05,Year2001,Qtr2.xls should be renamed to Period05_Year2001_Qtr2.xls
How can I do this VBA?
Thanks in advance for your help!
I need to search a network drive, find and rename hundreds of files that have a comma within the file name. I need the file name to basically stay the same. I just want to replace the comma with an underscore character. Like this...
October,21,1998.xls should be renamed to October_21_1998.xls
Period05,Year2001,Qtr2.xls should be renamed to Period05_Year2001_Qtr2.xls
How can I do this VBA?
Thanks in advance for your help!