28 Mar 2008 at 11:26 #1 PiKe PiKe Caporegime Joined 18 Oct 2002 Posts 25,287 Location Lake District I need to prepend a three letter to prefix to 1529 files, anyone any idea's how I might be able to batch this?
I need to prepend a three letter to prefix to 1529 files, anyone any idea's how I might be able to batch this?
28 Mar 2008 at 11:33 #2 rpstewart rpstewart Man of Honour Joined 11 Mar 2003 Posts 10,706 Location Greenock, Scotland Fire up a command window and navigate to where the files are then: Code: for %f in (*.*) do copy %f [B]prefix[/B]%f Substitute the bit in bold with the prefix you want. You could use move instead of copy but that means getting it right first time. If you want to put that into a batch file then you'll need to use %%f rather than %f.
Fire up a command window and navigate to where the files are then: Code: for %f in (*.*) do copy %f [B]prefix[/B]%f Substitute the bit in bold with the prefix you want. You could use move instead of copy but that means getting it right first time. If you want to put that into a batch file then you'll need to use %%f rather than %f.
28 Mar 2008 at 11:46 #3 Tomsk Tomsk Soldato Joined 18 Oct 2002 Posts 5,235 Location Overground, underground.. ckrename is a free windows based application that will do that
28 Mar 2008 at 11:53 #4 PiKe PiKe Caporegime OP Joined 18 Oct 2002 Posts 25,287 Location Lake District Thanks.