Hi, All
The Problem:
I have some folders named 1,2,3...(i'll stop there) all the way upto 250, within those folders I have a txt file, eg: folder named 1 has a file named 1.txt and folder 2 has a file named 2.txt and so on.
What I want to do is leave the folder names the same but rename all the *.txt files, does anybody have or know of any code/script that will do this. ?
Preferably in:
VBA(VB 6)
VBScript
JavaScript
C++
My Alternative:
Otherwise I'll have to either move all the *txt files by hand to one main folder and rename them using a mass file renamer program I have, or go into each and every 250 folders and rename them by hand
(as you can guess that won't be much fun).
Thanks for reading, any help,links or code/script would be greatly apprieciated.
The Problem:
I have some folders named 1,2,3...(i'll stop there) all the way upto 250, within those folders I have a txt file, eg: folder named 1 has a file named 1.txt and folder 2 has a file named 2.txt and so on.
What I want to do is leave the folder names the same but rename all the *.txt files, does anybody have or know of any code/script that will do this. ?
Preferably in:
VBA(VB 6)
VBScript
JavaScript
C++
My Alternative:
Otherwise I'll have to either move all the *txt files by hand to one main folder and rename them using a mass file renamer program I have, or go into each and every 250 folders and rename them by hand
(as you can guess that won't be much fun).
Thanks for reading, any help,links or code/script would be greatly apprieciated.