Home / Microsoft / Microsoft DOS / Create zip/rar file
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: 1 2 [All] - (Bottom) Print
Author Topic: Create zip/rar file  (Read 1372 times)
silversk8ter
Topic Starter
Greenhorn



Posts: 9




« on: April 07, 2009, 08:48:04 AM »

Hi!
Is it possible to compress a folder/file to zip/rar from a batch file?
Thanks .


I allready have the answer:

makecab C:\set.txt C:\me.zip

IP logged
Dias de verano
Guest
« Reply #1 on: April 07, 2009, 08:57:05 AM »

I allready have the answer:

If you already have the answer, why did you ask the question?
IP logged
gh0std0g74
Apprentice



Thanked: 37
Posts: 590


« Reply #2 on: April 07, 2009, 09:06:42 AM »

@dias, please enjoy your life more. little things like this shouldn't upset you at all.
IP logged

Dias de verano
Guest
« Reply #3 on: April 07, 2009, 09:11:55 AM »

OK, let's assume the OP didn't mean "I already know how to do this".

You can use rar.exe which comes with WinRAR, or the command line program addon for Winzip. Which one were you thinking of?


IP logged
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #4 on: April 07, 2009, 09:12:04 AM »

@dias, please enjoy your life more. little things like this shouldn't upset you at all.

Wth?
IP logged

Dias de verano
Guest
« Reply #5 on: April 07, 2009, 09:13:59 AM »

Wth?

Ghostdog acting like he had 250000 posts instead of 25.
IP logged
gh0std0g74
Apprentice



Thanked: 37
Posts: 590


« Reply #6 on: April 07, 2009, 09:21:17 AM »

Wth?
Quote from: Dias de verano
OK, let's assume the OP didn't mean "I already know how to do this".
get it?
IP logged

gh0std0g74
Apprentice



Thanked: 37
Posts: 590


« Reply #7 on: April 07, 2009, 09:22:43 AM »

Ghostdog acting like he had 250000 posts instead of 25.

what has post count got to do with it?
IP logged

Dias de verano
Guest
« Reply #8 on: April 07, 2009, 09:26:38 AM »

what has post count got to do with it?

Big post count=big man (me). Little post count=little boy (you).  :P

IP logged
gh0std0g74
Apprentice



Thanked: 37
Posts: 590


« Reply #9 on: April 07, 2009, 09:29:38 AM »

Big post count=big man (me). Little post count=little boy (you).  :P
you should know who i am. I just changed "O" to 0. Post count doesn't matter.
IP logged

Dias de verano
Guest
« Reply #10 on: April 07, 2009, 09:33:31 AM »

you should know who i am. I just changed "O" to 0. Post count doesn't matter.

I know who you are.
IP logged
gh0std0g74
Apprentice



Thanked: 37
Posts: 590


« Reply #11 on: April 07, 2009, 09:34:40 AM »

I know who you are.

glad to hear that.
IP logged

Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #12 on: April 07, 2009, 09:35:29 AM »

You're the guy who turned the 'O' to '0'.
IP logged

Dias de verano
Guest
« Reply #13 on: April 07, 2009, 09:42:33 AM »

He tried to make his girlfriend say OH! but what she actually said was zero
IP logged
silversk8ter
Topic Starter
Greenhorn



Posts: 9




« Reply #14 on: April 07, 2009, 11:55:49 AM »

If you already have the answer, why did you ask the question?


Sorry about that..
Only after i post the problem i've manage the answer.
I keep this post to someone with this kind of question..

Anyway, this way i can zip a file...what about zip an entire folder?
Anyone?

 
IP logged
Dias de verano
Guest
« Reply #15 on: April 07, 2009, 12:24:01 PM »


Anyway, this way i can zip a file...what about zip an entire folder?
 

Yes you can do that too. You can zip an entire folder tree.
IP logged
silversk8ter
Topic Starter
Greenhorn



Posts: 9




« Reply #16 on: April 07, 2009, 12:27:28 PM »

Yes you can do that too. You can zip an entire folder tree.


How can i do that?
IP logged
Dias de verano
Guest
« Reply #17 on: April 07, 2009, 12:30:11 PM »

How can i do that?

With what software?

IP logged
silversk8ter
Topic Starter
Greenhorn



Posts: 9




« Reply #18 on: April 07, 2009, 12:33:01 PM »

With what software?



Hum...let's say, Microsoft DOS...cmd & makecab command... (did i miss something here?)
IP logged
Dias de verano
Guest
« Reply #19 on: April 07, 2009, 12:37:21 PM »

Hum...let's say, Microsoft DOS...cmd & makecab command... (did i miss something here?)

Not with makecab, which only does files. Winzip or WinRAR which I mentioned before.


IP logged
silversk8ter
Topic Starter
Greenhorn



Posts: 9




« Reply #20 on: April 07, 2009, 12:39:00 PM »

ok. thanks.
IP logged
Dias de verano
Guest
« Reply #21 on: April 07, 2009, 01:07:47 PM »

You can download the free compressors 7zip (Windows GUI) and 7za.exe (command line) which can compress files and folders into zip files.

http://www.7-zip.org/download.html

Click on "Command Line Version" for 7za.exe which is in a zip archive - so you may need 7zip to unarchive it.

IP logged
Helpmeh
Egghead



Thanked: 117
Posts: 3,608

Experience: Experienced
OS: Windows XP


Roar.

1
« Reply #22 on: April 07, 2009, 03:56:53 PM »

Big post count=big man (me). Little post count=little boy (you).  :P



I remember seeing a picture somewhere with a creepy guy saying "Remember kids, the bigger your postcount is, the bigger your.....".
« Last Edit: April 07, 2009, 09:10:20 PM by Carbon Dudeoxide » IP logged

Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #23 on: April 07, 2009, 09:10:32 PM »

Slight edit of your post...... LOL
IP logged

Reno
Hopeful



Thanked: 32
Posts: 323




« Reply #24 on: April 08, 2009, 12:04:22 AM »

I AM THE REAL ONE  ;D
this guy is fake homer  ;)
IP logged
BC_Programmer
Mastermind


Thanked: 697
Posts: 15,881

Computer: Specs
Experience: Beginner
OS: Windows 7


Pinkie Pie is best pony

BC-Programming.com 1 1
« Reply #25 on: April 08, 2009, 12:24:08 AM »

actually, your both posers.


http://www.computerhope.com/forum/index.php?action=profile;u=17113
IP logged

My Blog

BASeBlock 2.3.0 (NOW WITH MACGUFFINS!)
Reno
Hopeful



Thanked: 32
Posts: 323




« Reply #26 on: April 08, 2009, 01:02:28 AM »

actually, your both posers.


http://www.computerhope.com/forum/index.php?action=profile;u=17113
Name:  homer
Posts:  2627 (2.377 per day)
Position:  Expert
Thanked:  0 
Date Registered:  March 29, 2006, 05:16:36 PM
Last Active:  January 01, 2009, 10:52:41 PM

ooops, there is old member with username homer, didn't notice him until now  :P
IP logged
Pages: 1 2 [All] - (Top) Print 
Home / Microsoft / Microsoft DOS / Create zip/rar file « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.121 seconds with 19 queries.