I want to add the same prefix to a large number of files, all with the same extension, but all having long file names with spaces in them. I found the following code at http://www.lagmonster.org/docs/DOS7/z-ren1.html:
FOR %v IN (*.txt) DO REN %v abc%v.x
REN *.x *
When I try it without LFNFOR, I get an error message - not surprising since I didn't specify long file names.
However, when I key in LFNFOR, I get an error message just from typing that.
My PC is 64-bit Windows 7.
Thanks in advance for your help.
It looks like you're new here. If you want to get involved, click one of these buttons!