|Hi, guys! I'm a complete n00b when it comes to batch files, so please bear with me.|
I need to create a batch file that copies files with an extension .1 to a particular folder, but that's not all, it has to add a 0 to the filename (removing the first character of the filename) and remove the last character, while keeping the file extension.
Something like this
Should end up like this:
I was able to copy files and add a 0 to the filename (so far I tried this: "xcopy <filename> <destination directory>0*"), but I don't know how to remove the last character of the filename :/
Any help would be greatly appreciated!!