Re: Rename multiple files?

From: _Vanguard_ (see_signature)
Date: 12/21/04


Date: Mon, 20 Dec 2004 23:05:16 -0600


"JonathanRS" <JonathanRS@discussions.microsoft.com> wrote in message
news:51E8720B-1764-44D2-AC15-EA5C580C1E9E@microsoft.com...
>I have a series of photo files in the format IMG_XXXX where XXXX is a
>4-digit
> number. I'd like to rename the files using simply the 4 digit number.
> I
> need to preserve the existing 4 digit number; not just renumber the
> files
> sequentially. Any type of "search and replace" function for file
> names or
> other shortcuts to accomplish this? Thx!

You could run:

    %windir%\hh.exe C:\WINDOWS\Help\ntcmds.chm

to read up on the commands you enter in a DOS shell, like the "ren"
command. Note their description of using wildcards in the filename2
parameter.

Or you could search Microsoft's support knowledge to find related
articles, like http://support.microsoft.com/kb/320167, which also
mention using the "ren" DOS command with wildcards.



Relevant Pages

  • Re: SIMH Altair simulator question
    ... Any Idea why READ.COM doesn't work with wildcards? ... READ V-2.23 SIMH Interface V003 ... Here is the correct syntax for command R: ... R can list files (because it prints filenames) but can't open them. ...
    (comp.os.cpm)
  • Re: D70 and Histogram
    ... > wildcard problems with the DCRAW command line raw converter which is ... the wildcards aren't processed by the ... OS, but would be passed directly to perl, expecting perl to expand ... short BASIC program that can create the batch files that would ...
    (rec.photo.digital)
  • Re: vim: loading in subdirectories
    ... The program sees exactly what you type on the command line. ... my final solution I'm currently working with are .bat files I'm now using to start up vim. ... They rely on the fact that winXP's "dir"-command can use wildcards on filenames and has a /s - switch making it recurse into subdirectories, in addition the /b - switch is needed to get just the list of filenames without any additional noise. ... Convert it to a windows batch file with the pl2bat utility which comes with the ActivePerl distribution. ...
    (comp.editors)
  • Re: Excercices
    ... >> command line to the program. ... >> prefer a preprocessing of this information by the shell, ... you can use either of the two wildcards the ... Enclosing an argument in double quotation marks suppresses the wildcard ...
    (alt.lang.asm)
  • Re: Why do games assume...
    ... DOS shell? ... The command shell in WinXP still looks remarkably like the old ... Personal computers are so complex now, ... I use voice recognition for dictation and automation in Windows XP. ...
    (comp.sys.ibm.pc.games.strategic)