Solved

Is there a command line PKUNZIP supporting LONG Filenames?

Posted on 1998-09-30
11
3,162 Views
Last Modified: 2013-12-29
I have PKUNZIP 2.04g and when i try to pkunzip like:

pkunzip Very_Long_Filename.zip

it comes back with an error because it cant recognize long filenames.  Is there a NEW command line version of PKUNZIP that supports PKZIPPING and PKUNZIPING?
0
Comment
Question by:ljaques
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
11 Comments
 

Expert Comment

by:shalafi
ID: 1724320
what operating system are you using?
0
 

Author Comment

by:ljaques
ID: 1724321
Windows 95 but i want to use PKUNZIP in DOS to pkunzip long filenamed zip files?  I notice WINZIP calls out to PKUNZIP/PKZIP and DOES store long filenames but what are these SECRET command line arguments that it is sending to have PKUNZIP/PKZIP store these correct filenames.
0
 
LVL 2

Expert Comment

by:jkpcs
ID: 1724322
What about using DOS abbrevs (Very_L~1.zip)?  Do you have many long file names that are very similar?
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

Expert Comment

by:shalafi
ID: 1724323
Ok, if you are using the command line pkunzip while in a dos window, you just use the shorthand version of the filenames, like verylo~1.zip. Also try using wildcards, if it's appropriate, like "pkunzip *.zip" or "pkunzip very*.zip".
If you want to zip to a long filename, I'm not sure.
0
 
LVL 1

Expert Comment

by:sKiiKe
ID: 1724324
PKZIP250.EXE, it has commandline pkunzip. It operates in win95 but not in DOS. I believe those GZIP dos utils support long file names, but the compression method is not compatible with pkzip
0
 

Expert Comment

by:shalafi
ID: 1724325
ok, unzipping with the shorthand names (type em just like they show up with a dir) works fine, even when booting to command prompt only. zipping to a real long file name just truncates it to 8 characters. looks like jkpcs gave you the same idea while I was entering and testing mine, and was quicker. sorry about that. :)
0
 
LVL 1

Expert Comment

by:sKiiKe
ID: 1724326
Sorry version nowadays seems to be pk260w32.exe
0
 

Author Comment

by:ljaques
ID: 1724327
Actually THOSE METHODS don't work....I mean when they unzip it unzips fine but those "cut off" versions are what the unpacked files will look like as well. If i happened to PKZIP the file with WINZIP, thus storing their long file names and then used PKUNZIP (in dos) to unzip them then you WILL loose the long file names that were once stored.  I guess this is OK....THe most important thing though is the PKUNZIP LONGFILENAME.ZIP . I don't really care about loosing the long file names that may have been stored (because it may be impossible to get pkunzip to unpack with this long names).  

I WOULD use the Name~1.zip extension with PKUNZIP to unpack a file but (HERE COMES THE TRICKY PART) i am using Visual Basic which tells me the filename on disk as a long filename and doesn't make mention of any "short-hand" style as is seen in ie. Name~1.zip.  Because this "short-hand" filename can be ie. Name~2.zip, or whatever then i don't know what DOS is calling it
0
 
LVL 1

Expert Comment

by:development
ID: 1724329
Have you tried pkunzip "this very long file name.zip" ?
I know that works because hey, I just tried it.  It works in win95 and 98.
0
 
LVL 1

Expert Comment

by:development
ID: 1724331
and i went to dos prompt to run it
0
 
LVL 5

Accepted Solution

by:
theh95 earned 10 total points
ID: 1724333
If your pkunzip can't work with any long files names,   try to rename the zip file name to standard 8 letters name.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pdf to excel 8 70
hp scanner L2683A and L2683B 3 29
Cannot promote server to domain because of forest functional level 3 44
Hide shared folder for some users 2 30
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question