Search found 1 match
- 17 Dec 2010 07:21
- Forum: DOS Batch Forum
- Topic: Add to a file
- Replies: 8
- Views: 10126
Add to a file
How can I add to a file name? I have a directory called TEST. Inside TEST there are 200 files (all of different names and extensions). How can I add “a” in front of each name and still keep the same name and extension. i.e. c:\TEST\hello.txt will become c:\TEST\ahello.txt. I want to use a batch file.