Search found 2 matches

by JohnDOS
07 Apr 2013 22:43
Forum: DOS Batch Forum
Topic: Seek batch file to "save as" many files from one per txt db
Replies: 2
Views: 3101

Re: Seek batch file to "save as" many files from one per txt

To abc0502 I tested it and it worked perfectly on my test input file of two names. Thank you! John Ref: @Echo OFF SET "NamesFile=Names.txt" SET "ImageName=Template.jpg" For /F "delims=" %%A In ('Type "%NamesFile%"') Do ( COPY "%~dp0%ImageName%" "...
by JohnDOS
07 Apr 2013 21:58
Forum: DOS Batch Forum
Topic: Seek batch file to "save as" many files from one per txt db
Replies: 2
Views: 3101

Seek batch file to "save as" many files from one per txt db

Hello, I've never written a batch file but I think my task is very straightforward and should be easy to code for batch. I have a text file called names.txt with one name per line. I have a .jpg file named template.jpg These two files are in the project folder. I want to have a batch file that I can...