take input and append to file name
Posted: 14 Sep 2009 12:31
If I want to ask the user for input and append it to the file name, how do I do that given:
Where file is test.txt and I want revision 1 so the final file name is testREV1.txt.
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.