I am attempting to clean-up some file-names in a particular folder and I'm wondering how I would go about creating a batch file to remove a minus sign from the beginning of each file-name.
I have a bunch of files withthe pattern -FileName.pdf and I'd like to remove the minus sign from the front so I just have FileName.pdf.
So far, I have the following command:
dir /B > Batch.txt for /f "tokens=1,2" %i in (Batch.txt) DO ren "%i %j" %l
Is there anything simpler I could use?
Thanks in advance