Unzip a zip file to preserve long file name 
Author Message
 Unzip a zip file to preserve long file name

Hi,
       I am developing a script to download  a zip file from ftp site and
unzip the file. The download part works fine, but the unzip part does not.
Because there are files with long file names in the zip file, I am using
wshShell.run("pkunzip  ....",0,true) to unzip the file, all I got is 8.3
style file name.  Any suggestion?

Thanks in advance



Sun, 09 Mar 2003 03:00:00 GMT  
 Unzip a zip file to preserve long file name

Quote:

> Hi,
>        I am developing a script to download  a zip file from ftp site and
> unzip the file. The download part works fine, but the unzip part does not.
> Because there are files with long file names in the zip file, I am using
> wshShell.run("pkunzip  ....",0,true) to unzip the file, all I got is 8.3
> style file name.  Any suggestion?

> Thanks in advance

Get the PKzip 2.5 from PK Ware (www.pkware.com) or another long filename
aware archive program.

Tom Lavedas
-----------
http://www.pressroom.com/~tglbatch/



Sun, 09 Mar 2003 03:00:00 GMT  
 Unzip a zip file to preserve long file name
Have a look at www.winzip.com for a windows version (free evaluation). There
is also a command line version there.

Steve Whitnear
Please do not email.  Reply in newsgroup


Quote:
> Hi,
>        I am developing a script to download  a zip file from ftp site and
> unzip the file. The download part works fine, but the unzip part does not.
> Because there are files with long file names in the zip file, I am using
> wshShell.run("pkunzip  ....",0,true) to unzip the file, all I got is 8.3
> style file name.  Any suggestion?

> Thanks in advance



Mon, 10 Mar 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Converting Long File Names to Short File Names

2. Getting short file name from long file name:

3. Converting Long File Names to Short File Names

4. Converting Short File Names to Long File Names

5. Preserving File Names and scripted downloads?

6. using long file names?

7. Passing long file names to CMD.exe

8. Ghostscript supports long file names on WinNT?

9. CreatePath and Long File Names

10. Run remote batch and long file name.

11. Long File Names and VBS

12. wscript.run and long file names

 

 
Powered by phpBB® Forum Software