Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remove spaces in file name

Status
Not open for further replies.

LKB6

MIS
Mar 20, 2009
23
US
I have a few hundred files with spaces in the file name. Those files are in folders and sub folders.
Is there a piece of code that I can use to rename all these files using Vb or others.
Thanks in advance.
 
It can be done from the dos prompt or through vb. With VB look up the Dir function, the Replace function, and the Name function.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top