Link to home
Start Free TrialLog in
Avatar of Dwhite
Dwhite

asked on

Rename Files

How do I rename Multiple Files

eg in DOS
Rename[space]*-Layout.dwg[space]*.dwg

I need to remove the -Layout fron the long filenames.
Thank you,
Dean.
Avatar of Coon
Coon

no way in windows.
if you have few files, do it for each,
if you have several open a DOS Box.

cu Coon
Avatar of Dwhite

ASKER

Please give me an example of renaming a file with long file names in DOS

I need to rename for example.

56.25423-0208_01_A-Layout.DWG.DWF

to

56.25423-0208_01_A.DWG.DWF
If you are under windows and going to the dos prompt you can rename your file the following way.

REN "56.25423-0208_01_A-Layout.DWF" "56.25423-0208_01_A.dwf"

Is this what you need.
regards
Unfortunately there is no way to do multiple files that I know of.
Avatar of Dwhite

ASKER

Well more like
REN "*-Layout.DWF" "*.dwf"

ASKER CERTIFIED SOLUTION
Avatar of chaveza
chaveza

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Go to www.winfiles.com and under Utilities you can find dozens of file renaming tools.  One of these should do what ya want.
This is all that dos will do......long filenames don't get alomg with dos well.

C:\>ren/?
Renames a file/directory or files/directories.

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

Note that you cannot specify a new drive or path for your destination.

Regards, Bud
http://www.geocities.com/budallen98_98/ 
Bud's Win95 Win98 Tips and Troubleshooter
Avatar of Dwhite

ASKER

Thank you all for the help

Dean.