Replied to [MatthewR]s message :
> The problem is that there are hundreds of subdirectories which I'd have to
> concatenate one at a time.
OK, if you dont want to use VBS then :
Open the folder with multiple subfolders in explorer
Click Search at top
Enter 3.txt in Find box and after search is done, copy all the files in one directory.
Make a bat file :
type C:\TheDirectoryWith3.TxFiles\*.* > SomeFile
Run it
And you can list the 3.txt files without searching by using this command:
Go into the directory and run :
dir /s /a-d /b "3.txt"
or from anywhere :
dir /s /a-d /b "Folder\3.txt"
but i dont know how to send it to copy or type command.It is possible by sending the
dir result to text file then reading the text file line/by/line and run the command
but i dont know how..
Good Luck, Ayush.
--
XP-Tips [Change the default folder opened in Explorer] :
http://www.microsoft.com/windowsxp/u...ingfolder.mspx