silversk8ter Topic Starter
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
|
|
|
|
|
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?
|
|
|
|
|
gh0std0g74
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.
|
|
|
|
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?
|
|
|
|
|
|
|
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.
|
|
|
|
|
gh0std0g74
Thanked: 37 Posts: 590
|
 |
« Reply #6 on: April 07, 2009, 09:21:17 AM » |
|
Wth?
OK, let's assume the OP didn't mean "I already know how to do this".
get it?
|
|
|
|
gh0std0g74
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?
|
|
|
|
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). 
|
|
|
|
|
gh0std0g74
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). 
you should know who i am. I just changed "O" to 0. Post count doesn't matter.
|
|
|
|
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.
|
|
|
|
|
gh0std0g74
Thanked: 37 Posts: 590
|
 |
« Reply #11 on: April 07, 2009, 09:34:40 AM » |
|
I know who you are.
glad to hear that.
|
|
|
|
|
|
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
|
|
|
|
|
silversk8ter Topic Starter
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?
|
|
|
|
|
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.
|
|
|
|
|
silversk8ter Topic Starter
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?
|
|
|
|
|
Dias de verano Guest
|
 |
« Reply #17 on: April 07, 2009, 12:30:11 PM » |
|
How can i do that?
With what software?
|
|
|
|
|
silversk8ter Topic Starter
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?)
|
|
|
|
|
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.
|
|
|
|
|
silversk8ter Topic Starter
Posts: 9

|
 |
« Reply #20 on: April 07, 2009, 12:39:00 PM » |
|
ok. thanks.
|
|
|
|
|
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.htmlClick on "Command Line Version" for 7za.exe which is in a zip archive - so you may need 7zip to unarchive it.
|
|
|
|
|
|
|
|
|
|
|
BC_Programmer
Thanked: 697 Posts: 15,881
Computer: Specs Experience: Beginner OS: Windows 7

Pinkie Pie is best pony
|
 |
« Reply #25 on: April 08, 2009, 12:24:08 AM » |
|
|
|
|
|
Reno
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 
|
|
|
|
|