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.
Moderator: DosItHelp
Code: Select all
set INPUT
set /P INPUT=Revision of file:
copy file
Code: Select all
set /p INPUT=Revision of file:
move test.txt testREV%INPUT%.txt