Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-26-2005, 03:45 PM   #1
Member (7 bit)
 
Join Date: Oct 2003
Posts: 73
Dos file conversion command?

A while ago someone taught me this trick to convert a folder of any one type of file to another type.

Like convert all .zip to .rar

This only renamed the extension but that is all I need in some cases? Does anyone know the command i'm talking of? Please help?
rockhoward is offline   Reply With Quote
Old 01-26-2005, 03:57 PM   #2
Member (14 bit)
 
bailey's Avatar
 
Join Date: Mar 1999
Location: Christmas, Florida
Posts: 10,661
did you try ren
changing the ext does not change the file itself.
you can change a sys file to a txt file for editing
also it would be easer to do this in dos-edit
or is it called dosshell
bailey is offline   Reply With Quote
Old 01-26-2005, 04:29 PM   #3
Member (7 bit)
 
Join Date: Oct 2003
Posts: 73
I dont follow you, what is ren?

What are you talking about with dosshell?

I'm using winXP so this is just through the dos prompt shell window.

I know it dosnt change the file, only the extension name, but that is what I need.

Like I said, if you change the extension name of a .zip to a .rar it is still runnable in winrar, even if you didnt change the actual file properties like you would when converting a .jpg to .bmp

This is a dos command that changed all of the type of one like *.you to *.mee inside of a folder.
rockhoward is offline   Reply With Quote
Old 01-26-2005, 05:22 PM   #4
RJ
Member (14 bit)
 
Join Date: Feb 2000
Location: Offenbach/Main (Germany)
Posts: 8,485
Send a message via ICQ to RJ
ren is rename, and that is what you want.

RJ
__________________
All's right with the world when your PC is working right.
RJ is offline   Reply With Quote
Old 01-26-2005, 05:26 PM   #5
Lest we forget
 
ghost2003's Avatar
 
Join Date: Jun 2003
Location: Ontario, Canada
Posts: 1,870
do you mean like this?
C:\PATH TO FOLDER>rename *.zip *.rar
__________________
redqueen: Antec Sonata, Pentium-D 2.5GHz, MSI G31M3-L, 2GB ram, 320 GB HDD, OpenBSD
hal9000: Lenovo T61, 2GB ram, 120 GB HDD, FreeBSD
ghost2003 is offline   Reply With Quote
Old 01-26-2005, 07:25 PM   #6
Member (14 bit)
 
bailey's Avatar
 
Join Date: Mar 1999
Location: Christmas, Florida
Posts: 10,661
xp does not contain dos, so you will not have all the dos comands available.
you can change the extension in xp under widows explorer, right click on the file, then click on the properties, if it isn't there, just rename it to what ever you want.
bailey is offline   Reply With Quote
Old 01-26-2005, 08:37 PM   #7
Member (9 bit)
 
Join Date: Jun 2000
Posts: 499
I'm not sure what you mean by "contain" but it certainly has a fairly extensive DOS shell!!!

And REName is definitely one of the things that it can do.
galaxian is offline   Reply With Quote
Old 01-26-2005, 09:00 PM   #8
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 37,788
I do believe the XP command shell accepts almost all DOS 6.x commands, as does the cmd shell, and the cmd shell has long file name support.

Why do you need to rename all your .zip files to .rar files? Winrar can open .zip files just fine if that's your preferred archive app, and can be associated with .zip files by default if you choose.

Last edited by glc; 01-26-2005 at 09:02 PM.
glc is online now   Reply With Quote
Old 01-27-2005, 01:03 AM   #9
Member (7 bit)
 
Join Date: Oct 2003
Posts: 73
I just used those as an example, it's actually a rarer format called .cbz, but it's easier to understand with what i said.

Also thank you very much ghost2003, that was EXACTLY the command I wanted and needed.
rockhoward is offline   Reply With Quote
Old 01-27-2005, 11:57 AM   #10
Member (9 bit)
 
Join Date: Jun 2000
Posts: 499
If you don't have any other program associated with .cbz, you can do as glc indicates and associate with WinRar and then there is no reason to do the renames.

And, even it here is, you could do something like placing WinRar on your Sendto menu and then doing a Right Mouse, Sendto
galaxian is offline   Reply With Quote
Old 01-27-2005, 06:13 PM   #11
Member (7 bit)
 
Join Date: Oct 2003
Posts: 73
Just asscotiating didn't work, it didn't give me all of the features, ghost 2003 gave the right answer and it's the proper way to do it.
rockhoward is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:52 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2