ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   pkzip command line - long filenames ? (https://www.scoobynet.com/computer-and-technology-related-34/232824-pkzip-command-line-long-filenames.html)

zackmcracken 23 July 2003 01:31 PM

trying to get pkzip to work with long filenames...

eg. pkzipc -add myarchive.zip c:\my documents\*

does anyone know how to write that so pkzip can understand it ? Its having trouble with the space between "my" and "documents"

os=win2k pkzip version=5 (command line)

cheers

ChristianR 23 July 2003 01:39 PM

use

"C:\my documents\"

or c:\mydocu~1

zackmcracken 23 July 2003 01:47 PM

christian, I noticed you've missed my wildcar '*' off the end - so how do I store the contents of the "my documents" folder ?

cos neither of these work...
pkzipc -add myarchive.zip "c:\my documents\*"
pkzipc -add myarchive.zip "c:\my documents\"




Hanslow 23 July 2003 01:49 PM

If you use his other option it should work

pkzipc -add myarchive.zip c:\mydocu~1

:)

zackmcracken 23 July 2003 01:53 PM

thing is I have lots of folders to zip up, not just the my documents folder

zackmcracken 23 July 2003 02:01 PM

hold on christian is right

"c:\my documents\*" works

although its not working on a shared folder called "user files" for some reason!

thanks all

zackmcracken 23 July 2003 02:05 PM

Definitely doesn't seem to want to zip shared files on the win2k server. I bet they do a special version I have to pay extra for, for that!


zackmcracken 23 July 2003 02:52 PM

this is pi$$ing me off now. It hangs whenever I try and zip a shared folder with a long filename eg. "user files"

are there any other compression programs like pkzip with a command line option ?


zackmcracken 23 July 2003 03:18 PM

problem solved - I've switched to winzip8.1 and am using its command line interface - with perfect results!

:)


All times are GMT +1. The time now is 12:21 PM.


© 2024 MH Sub I, LLC dba Internet Brands