Forum Home
Press F1
 
Thread ID: 33230 2003-05-11 09:45:00 batchfile renaming mejobloggs (264) Press F1
Post ID Timestamp Content User
143177 2003-05-12 05:05:00 yeah, thanks.

If i had to list all the files, i might as well change them. Probably quicker too.


Thanks
mejobloggs (264)
143178 2003-05-12 06:02:00 I would experiment with DOS. :D

If they are called things like ... "f124.dat"," f125.dat", etc, I would try first
ren *.dat *joe.dat. If that didn't work, I would try (first making a directory --- md newnames ) then xcopy *.dat newnames\*joe.dat. I think one of those would work. I have done lots of things like that over the years ... it just needs a bit of experimentation. There is a lot of cleverness hidden in DOS, much of which is not actually documented.
Graham L (2)
143179 2003-05-12 07:16:00 DOS would be fine if it could handle long file names but I think you will
get the " too many parameters " message with the last mentioned
method
Al.W (797)
143180 2003-05-12 10:23:00 Great. I used Rename4U and told it to replace ever '2k' it found with 'joe'

Wonderful. Saved me a lot of time.

Thanks a lot.
mejobloggs (264)
143181 2003-05-13 06:24:00 Al.W : Try the "quote fnames" which contain spaces trick. :D (just the part which contains the DOS-illegal spaces). Graham L (2)
1 2