question rename

  • Thread starter Thread starter soalvajavab1
  • Start date Start date
S

soalvajavab1

Is there anyway that I can rename bunch of files at once? let's say I
have files : pic1.bmp pic2.bmp pic3.bmp ... pic100.bmp and I want to
rename them to ppic1.bmp ppic2.bmp ppic3.bmp ... ppic100.bmp. Please
advise
 
Type cmd in Start Run

Type

FOR %A IN ("c:\Documents And Settings\David Candy\My Documents\My Pictures\*.jpg") DO ren "%A" "p%~nA%~xA"

Will change all jpg files in a folder to p<original name>.jpg

The case of the A (as in %A or %~<letter>A) is important. FOR/IN/DO is uppercase to highlight the actual command syntax.

Replace path with your particular one. If you drag the titlebar icon of an open folder into the cmd window it will type it for you.
 
Is there anyway that I can rename bunch of files at once? let's say I
have files : pic1.bmp pic2.bmp pic3.bmp ... pic100.bmp and I want to
rename them to ppic1.bmp ppic2.bmp ppic3.bmp ... ppic100.bmp. Please
advise


If a different format: ppic.bmp, ppic(1).bmp, ppic(2).bmp etc would suit
your purpose then:

Open Windows Explorer and go to the folder contain the files. Select
the files your want to rename. Right click on the group selection and
select Rename. Enter: ppic.bmp as the new name. The first file in the
selected group will have that name. The remaining files will add (n) to the
new name.

See: Windows Help and Support: Rename a series of Files.

Don
 
Look for "Lupas Rename 2000". Works great.

--
Just my 2¢ worth,
Jeff
__________in response to__________

| Is there anyway that I can rename bunch of files at once? let's say I
| have files : pic1.bmp pic2.bmp pic3.bmp ... pic100.bmp and I want to
| rename them to ppic1.bmp ppic2.bmp ppic3.bmp ... ppic100.bmp. Please
| advise
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top