Computing.Net > Forums > Disk Operating System > How can I rename all files in a directory ?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How can I rename all files in a directory ?

Reply to Message Icon

Name: gabi
Date: February 14, 2000 at 13:37:52 Pacific
Comment:

I want to rename all files in a directory.
All of the files are in the form of Axxx.gif and I want to rename them to xxxB.gif.
Can you help me to write such a batch file ?
I am using win95.
Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: .
Date: February 14, 2000 at 17:39:38 Pacific
Reply:

Ren A???.gif ???B.gif


0

Response Number 2
Name: el mato
Date: February 15, 2000 at 02:46:01 Pacific
Reply:

move axxx.gif xxxa.gif


0

Response Number 3
Name: Big Bad John
Date: February 15, 2000 at 10:15:10 Pacific
Reply:

I take it each file has a differant name? otherwise DOS would not handle them. So Axxx.gif means - A001,A002,A003 (or some other name) and so on.. If this is the case, and I cannot see otherwise. The example with REN A???.GIF ???B.GIF may not work.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: How can I rename all files in a directory ?

How can I remove files in DOS ? www.computing.net/answers/dos/how-can-i-remove-files-in-dos-/10052.html

how can I get my files ? www.computing.net/answers/dos/how-can-i-get-my-files-/6035.html

collecting files in a directory www.computing.net/answers/dos/collecting-files-in-a-directory/13758.html