Computing.Net > Forums > Programming > .bat ziping/unziping

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.

.bat ziping/unziping

Reply to Message Icon

Name: djas
Date: September 24, 2004 at 15:17:43 Pacific
OS: Windows XP/Longhorn GUI
CPU/Ram: n/a
Comment:

is it possible to zip/unzip a file from a batch file
thanx

djas



Sponsored Link
Ads by Google

Response Number 1
Name: Dr. Nick
Date: September 24, 2004 at 17:23:33 Pacific
Reply:

I've got to ask... what in the world are you doing with this batch file you're building? Seems like you've asked 1-2 batch-related questions every day for the last couple weeks...

Anyway, I'm not sure if you can use XP's built in zip support or not, but you could always use WinZip's command line interface.


0

Response Number 2
Name: Mechanix2Go
Date: September 24, 2004 at 21:36:35 Pacific
Reply:

Hi Dr. Nick,

Yeh, but as Dr. McCoy used to tell Capt. Kirk, "It's worse than that, Jim."

This guy has posted a buch of stuff about bats, compiling, obfuscating passwords, etc. And has almost never followed throug.

How 'bout:

::unzip.bat
pkunzip %1

::zip.bat
pkzip %1

Oughta work.

HTH



0

Response Number 3
Name: djas
Date: September 25, 2004 at 01:16:45 Pacific
Reply:

thanks eveyone for your input on all of my questions, as for what Dr.Nick said,

"I've got to ask... what in the world are you doing with this batch file you're building? Seems like you've asked 1-2 batch-related questions every day for the last couple weeks..."

ive been going through a phase of writing batch files for everything and am just interested as to what other things the command line can do.

djas


0

Response Number 4
Name: Dr. Nick
Date: September 25, 2004 at 03:09:24 Pacific
Reply:

...just interested as to what other things the command line can do.

I can respect that. One of the places I think Windows truly falls behind when compared to Linux is the occasional lack of any command line tools to do a certain thing. There was actually an "Ask Slashdot" a month or so ago related to the overall trend of programs moving away from command line interfaces and going strictly GUI-oriented. I personally love a good GUI, but having the option to use the command line as well is something I hope stays around for a while.


0

Response Number 5
Name: djas
Date: September 25, 2004 at 11:23:56 Pacific
Reply:

too true i wish the dos days had stayed around a bit longer. As for what you said about both GUI and Command Line, i think its an option that most programs should have.

djas


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: .bat ziping/unziping

Bat file to check for file with current date www.computing.net/answers/programming/bat-file-to-check-for-file-with-current-date/18823.html

Menu in Autoexec.Bat www.computing.net/answers/programming/menu-in-autoexecbat/14371.html

bat file for deleting www.computing.net/answers/programming/bat-file-for-deleting/11636.html