I need to create a batch file that reads a file with one line and then renames the same file based on the contents.
The file will have one number and the condition to rename the file is this:
If content of file > 100 then rename new.txt to old.txt
else rename new.txt to new1.txt
Thanks for the help!
1 Answer