This should be easy, but I'm getting stuck somewhere. I'm trying to rename files named VIDEO01234.o3g to IMAG01234.o3g. When I run the command below, VIDEO01234.o3g is being renamed to IMAGO01234.o3g (the "O" still appears). What am I doing wrong?
The catch is I'll need to run a few additional commands (delete temp folder, show confirmation message, etc) after the last 2 lines are stripped out of each file. Is there a way where I can run the last 2 lines routine in a loop without using goto:eof?
Thank you everybody for your help! I'm getting super close, but still running into a few snags. I'm trying to perform the 3 operations below on a handful of large (200+ MB) .csv files. I'm able to complete 1 and 2, but not 3. I can't seem to get the script to continue running after #2; I assume this...
Need some help. I'm trying to create a .bat script to automatically scan the current working directory for .csv files and delete the last 2 lines from each file. I successfully created a script to scan all of the .csv files and I created another script to successfully remove the last 2 lines of a si...