Search found 1 match

by bt
14 Sep 2009 12:31
Forum: DOS Batch Forum
Topic: take input and append to file name
Replies: 1
Views: 3958

take input and append to file name

If I want to ask the user for input and append it to the file name, how do I do that given:

Code: Select all

set INPUT
set /P INPUT=Revision of file:

copy file

Where file is test.txt and I want revision 1 so the final file name is testREV1.txt.