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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replace character in filename

Status
Not open for further replies.

vb89

MIS
Aug 21, 2008
47
US
Basically I'm kind of new to VB, can someone please help me make a program that:

goes through every file in a directory and replaces any “$” characters in the filename with “_”.

And if possible i'd like to hardcode the directory in the program (we can call the directory X for now) and to make sure it goes through subdirectories as well.

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top