cimorene: cartoony drawing of a woman's head in profile giving dubious side-eye (Default)
Cimorene ([personal profile] cimorene) wrote2005-03-11 08:41 am

(no subject)

i found information on how to bulk rename file extensions using ms dos here.

but i have a question for programmers.

RENAME [drive:][path][directoryname1 | filename1] [directoryname2 | filename2]

EXAMPLES

Rename all text files to files with .bak extension.

rename *.txt *.bak


does that mean you include the path to the directory you want in the command like

c:\documents\pictures\*.jpg *.bmp

?
ext_230: a tiny green frog on a very red leaf (Default)

[identity profile] anatsuno.livejournal.com 2005-03-11 10:05 am (UTC)(link)
yup.

and er-- bulk rename utility doesn't work for you? *surprised*
ext_230: a tiny green frog on a very red leaf (Default)

[identity profile] anatsuno.livejournal.com 2005-03-11 10:08 am (UTC)(link)
oh, also. if you want to no have to write the path, go into the directory you want the comman executed in first. Then type the simpler command w/o the path. shoudl work too.

[identity profile] cimness.livejournal.com 2005-03-11 11:08 am (UTC)(link)
yeah, it didn't because what i want to change is the names of the extensions. the problem was that i deleted the extension and typed in the wrong one in PSP so they're bmps that say they're jpgs. and the bulk rename utility has an idiotproof failsafe that prevents it renaming extensions--to protect idjits like me from ourselves, only in this case, too late, eh?
ext_230: a tiny green frog on a very red leaf (Default)

[identity profile] anatsuno.livejournal.com 2005-03-11 11:26 am (UTC)(link)
i renamed extensions with it many times! something's fishy.

[identity profile] cimness.livejournal.com 2005-03-11 11:33 am (UTC)(link)
perhaps it was a different one.
ext_230: a tiny green frog on a very red leaf (Default)

[identity profile] anatsuno.livejournal.com 2005-03-11 12:08 pm (UTC)(link)
just for future ref if you ever wanna try the one i was talking about:

http://www.bulkrenameutility.co.uk/Main_Intro.php

iirc, to rename extensions you have to first tell it to suppress the extension entirely on the bunch of files you wanna treat, then apply the new extension on them. it's a two stop process, but the utility is so fast it doesn't really matter.