Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Finally! PKZIP long filenames in DOS

409 views
Skip to first unread message

Chris Jones

unread,
Apr 4, 1999, 4:00:00 AM4/4/99
to
I don't know if you've noticed, but PKWARE have finally released PKZIP 2.50
for DOS, supporting long filenames in a DOS box in Win95. This means you can
unzip files from a DOS prompt, whilst maintaining their long names. I think
it's great news, as we've been waiting for this for ages.


Bernie

unread,
Apr 4, 1999, 4:00:00 AM4/4/99
to

=============================================
I'm happy for you Chris, but personally I find long filenames a royal
pain in the rear and wish that nobody ever though of it. But then,
I'm a real DOS buff and a strict constructionist. If you can't do it
with 8 letters and a 3 letter extension, then you can't do it.

PLEASE, PLEASE, PLEASE... INCLUDE MY MESSAGE WITH YOUR REPLY

(WHA?)
o
o
''~``
( o o )
+------------.oooO--(_)--Oooo.--------------+
Bernie
Ber...@home.com
Baltimore .oooO
( ) Oooo.
+----------------------\ (----( )------------------------+
\_) ) /
(_/

Artur Yelchishchev

unread,
Apr 4, 1999, 4:00:00 AM4/4/99
to
Bernie wrote:
>
> >I don't know if you've noticed, but PKWARE have finally released PKZIP 2.50
> >for DOS, supporting long filenames in a DOS box in Win95. This means you can
> >unzip files from a DOS prompt, whilst maintaining their long names. I think
> >it's great news, as we've been waiting for this for ages.
> =============================================
> I'm happy for you Chris, but personally I find long filenames a royal
> pain in the rear and wish that nobody ever though of it. But then,
> I'm a real DOS buff and a strict constructionist. If you can't do it
> with 8 letters and a 3 letter extension, then you can't do it.

I am partially agree with you Bernie, but Win9x is so widely invaded
the world that we can not avoid using its specific features. If you
have to transfer large amount of Word's files with VLFN (Very Long
Filenames :-) to other machine, possibility to do it with PKZIP is
not bad idea, isn't it? Anyway, people are glad, as we can see.

Regards,
Artur Yelchishchev
(also DOS-thinking man).


Chia Ah Tee, Joseph

unread,
Apr 5, 1999, 3:00:00 AM4/5/99
to

Try to download this PKZIP. ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/pk250dos.exe 207394 bytes
Joseph Chia
Tel 7906072 (office)
Joseph is my baptised christian name.
Truth gives knowledge. Lies give nothing.
It is better to get hurt now by knowing the truth
than getting hurt badly and deeply later by lies
Problem can only be solved by evidence and experience one had and not by any reason. Reason without the correct evidence cannot be taken as right and true

    ----------
    From:   ber...@home.com (Bernie)[SMTP:ber...@home.com]
    Posted At:      Monday, April 05, 1999 4:21 AM
    Posted To:      misc
    Conversation:   Finally! PKZIP long filenames in DOS
    Subject:        Re: Finally! PKZIP long filenames in DOS

    On Sun, 4 Apr 1999 20:03:27 +0100, "Chris Jones"

    >I don't know if you've noticed, but PKWARE have finally released PKZIP 2.50
    >for DOS, supporting long filenames in a DOS box in Win95. This means you can
    >unzip files from a DOS prompt, whilst maintaining their long names. I think
    >it's great news, as we've been waiting for this for ages.
    =============================================
    I'm happy for you Chris, but personally I find long filenames a royal
    pain in the rear and wish that nobody ever though of it.  But then,
    I'm a real DOS buff and a strict constructionist.  If you can't do it
    with 8 letters and a 3 letter extension, then you can't do it.

    PLEASE, PLEASE, PLEASE... INCLUDE MY MESSAGE WITH YOUR REPLY

Mike NO UCE S.

unread,
Apr 5, 1999, 3:00:00 AM4/5/99
to
Unfortunately PKZIP 2.50 for DOS does not appear to support LFN's in real
mode using a LFN TSR like yours or DR-DOS's longname.exe ... it seems to
"want" to be running in a Win9x command window.

I have already emailed PKWARE to express my disappontment after all these
months of waiting.

Archimedes

unread,
Apr 7, 1999, 3:00:00 AM4/7/99
to
Bernie wrote:
>
> On Sun, 4 Apr 1999 20:03:27 +0100, "Chris Jones"
> <ch...@mynos.REMOVETHISfreeserve.co.uk> wrote:
>
> >I don't know if you've noticed, but PKWARE have finally released PKZIP 2.50
> >for DOS, supporting long filenames in a DOS box in Win95. This means you can
> >unzip files from a DOS prompt, whilst maintaining their long names. I think
> >it's great news, as we've been waiting for this for ages.
> =============================================
> I'm happy for you Chris, but personally I find long filenames a royal
> pain in the rear and wish that nobody ever though of it. But then,
> I'm a real DOS buff and a strict constructionist. If you can't do it
> with 8 letters and a 3 letter extension, then you can't do it.
>
> PLEASE, PLEASE, PLEASE... INCLUDE MY MESSAGE WITH YOUR REPLY
> ========================

Actually ... PKZIP250 only works in a Windows shell-out to DOS. It
does not work in the REAL world of DOS. Keep waiting. However, there
has appeared lately a diskedit program called DEDIT32.EXE which does
indeed do its things in real DOS. Not the same or any relation to our
subject, but just a mention that somebody has been truly thinking.
One use would be to doctor deleted files back into visibility again.


--
Flame away thou foul-tongued varlets! Though, I weareth sheetiron
skivvees betwixt asbestos layering, mine own arse indeed remaineth
yet frostee!.. The Righteous Knight, Act 2 Sc 2, Gilburt & Sulliven

S.NAPper

unread,
Apr 8, 1999, 3:00:00 AM4/8/99
to
In article <370BC9...@lex.infi.net>
Archimedes <NOSPAM...@lex.infi.net> writes:

>Bernie wrote:


>>
>> "Chris Jones" <ch...@mynos.freeserve.co.uk> wrote:
>>
>> >I don't know if you've noticed, but PKWARE have finally released PKZIP 2.50
>> >for DOS, supporting long filenames in a DOS box in Win95. This means you can
>> >unzip files from a DOS prompt, whilst maintaining their long names. I think
>> >it's great news, as we've been waiting for this for ages.
>>

>> I'm happy for you Chris, but personally I find long filenames a royal
>> pain in the rear and wish that nobody ever though of it. But then,
>> I'm a real DOS buff and a strict constructionist. If you can't do it
>> with 8 letters and a 3 letter extension, then you can't do it.

S.NAP



>> PLEASE, PLEASE, PLEASE... INCLUDE MY MESSAGE WITH YOUR REPLY

>Actually ... PKZIP250 only works in a Windows shell-out to DOS. It


>does not work in the REAL world of DOS. Keep waiting. However, there

DAMN.

>has appeared lately a diskedit program called DEDIT32.EXE which does
>indeed do its things in real DOS. Not the same or any relation to our

Ah, but can it DEDIT32.EXE NTFS partitions when booted with DOS ?

>subject, but just a mention that somebody has been truly thinking.
>One use would be to doctor deleted files back into visibility again.

Thought not,

S.NAPper

-- -
Stuff the B's - Show Me the Honey !


a...@mail1.bet1.puv.fi

unread,
Apr 8, 1999, 3:00:00 AM4/8/99
to
>
> >Actually ... PKZIP250 only works in a Windows shell-out to DOS. It
> >does not work in the REAL world of DOS. Keep waiting. However, there

Infozip supports LFNs under Win95 and works fine in DOS mode. See:
ftp://ftp.cdrom.com/pub/infozip/index.html

Mike NO UCE S.

unread,
Apr 8, 1999, 3:00:00 AM4/8/99
to


Yes, but it does not read or write LFN's when running in REAL MODE
DOS - only in a DOS window or session under Windows - because it relies
upon Windows 9x to supply the extra file naming functions. The problem is,
if you use a DOS LFN extension like Chris' LFNDOS or Digital Research's
longname.exe, it _still_ will not read or write LFN's in real mode. THAT
is the Holy Grail.


Steen

unread,
Apr 8, 1999, 3:00:00 AM4/8/99
to
On 8 Apr 1999 21:28:42 GMT, a...@mail1.bet1.puv.fi wrote:

| > >Actually ... PKZIP250 only works in a Windows shell-out to DOS. It
| > >does not work in the REAL world of DOS. Keep waiting. However, there
|
| Infozip supports LFNs under Win95 and works fine in DOS mode. See:
| ftp://ftp.cdrom.com/pub/infozip/index.html

While it looks like a great product, if you read the following quote form
Infozip's question and answer page, you'll find Infozip can't support LFN from
pure DOS any more than any of the other archive programs.
-------------------------------------
How do I extract Windows 95/98 long filenames (VFAT) under plain DOS? It works
fine in a Win9x DOS window, but I want to be able to restore a backed-up Win9x
system from scratch.

You're hosed. Info-ZIP's utilities use the normal C library functions to read
and write files; those functions, in turn, depend on the operating system to
provide file-system support. Plain DOS, even the DOS 7.0 at the heart of
Windows 9x, does not support the VFAT or FAT32 file systems. And writing very
low-level, OS-dependent code to support one system violates Info-ZIP's goal of
maximal portability (even if most of the necessary code is already freely
available in Linux and elsewhere).

So while Info-ZIP's Win32 versions do support long filenames in Win9x DOS
boxes, they don't even run under plain DOS. And the DOS versions don't support
long filenames at all. (Well, that's not entirely true: if UnZip is compiled
with the free djgpp 2.x compiler, it will support long filenames under Windows
95/98 [not NT] or short filenames under plain DOS. The currently available
32-bit executable in unz540x3.exe was compiled with djgpp 2.x.)

Your best bet is to hope that someone writes (or maybe has already written) a
VFAT/FAT32 device driver for DOS, similar to the OS/2 HPFS device drivers
already available for DOS (e.g., HPFS-Access, Amos, etc.). If you hear about
such a thing, let us know and we'll provide pointers and, if possible, test
our code with it. In the meantime, Duncan Murdoch's DOSLFNBK and LFNSORT
utilities may prove useful.

Chris Jones

unread,
Apr 10, 1999, 3:00:00 AM4/10/99
to
Mike "NO UCE" S. wrote in message <7ejbga$sts$1...@news.panix.com>...

>Yes, but it does not read or write LFN's when running in REAL MODE
>DOS - only in a DOS window or session under Windows - because it relies
>upon Windows 9x to supply the extra file naming functions. The problem is,
>if you use a DOS LFN extension like Chris' LFNDOS or Digital Research's
>longname.exe, it _still_ will not read or write LFN's in real mode. THAT
>is the Holy Grail.

(Shameless plug below:)

There's a new version of my LFNDOS, v1.05, now available which now supports
PKZIP/PKUNZIP 2.50 (although there are a couple of bugs with PKUNZIP -d
currently). http://members.xoom.com/dosuser

Chris Jones


a...@mail1.bet1.puv.fi

unread,
Apr 11, 1999, 3:00:00 AM4/11/99
to
a.h....@ieee.org (Steen) wrote in <371533bc...@news.newsguy.com>:

> On 8 Apr 1999 21:28:42 GMT, a...@mail1.bet1.puv.fi wrote:
>
> | > >Actually ... PKZIP250 only works in a Windows shell-out to DOS. It
> | > >does not work in the REAL world of DOS. Keep waiting. However, there
> |
> | Infozip supports LFNs under Win95 and works fine in DOS mode. See:
> | ftp://ftp.cdrom.com/pub/infozip/index.html
>
> While it looks like a great product, if you read the following quote form
> Infozip's question and answer page, you'll find Infozip can't support LFN from
> pure DOS any more than any of the other archive programs.

I know. I just didn't realise that PKWARE had released a DOS version
of PKZIP 2.50. The WIN32 command line version I tested a few months
ago had an awful command line syntax and didn't run at all in DOS
mode (that's why I switched to InfoZip).


Timo Salmi

unread,
Apr 11, 1999, 3:00:00 AM4/11/99
to
In article <7e8cud$bn0$1...@news8.svr.pol.co.uk>,

Chris Jones <ch...@mynos.REMOVETHISfreeserve.co.uk> wrote:
:I don't know if you've noticed, but PKWARE have finally released PKZIP 2.50
:for DOS, supporting long filenames in a DOS box in Win95. This means you can

207394 Mar 1 1999 ftp://garbo.uwasa.fi/pc/arcers/pk250dos.exe
pk250dos.exe PKWARE zip un/archiver, with long filename support

All the best, Timo

....................................................................
Prof. Timo Salmi Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
mailto:t...@uwasa.fi <http://www.uwasa.fi/~ts/> ; FIN-65101, Finland

Spam foiling in effect. My email filter autoresponder will return a
required email password to users not yet in the privileges database.
Advice on spam foiling at http://www.uwasa.fi/~ts/info/spamfoil.html

Chris Jones

unread,
Apr 13, 1999, 3:00:00 AM4/13/99
to
a...@mail1.bet1.puv.fi wrote in message ...

>I know. I just didn't realise that PKWARE had released a DOS version
>of PKZIP 2.50. The WIN32 command line version I tested a few months
>ago had an awful command line syntax and didn't run at all in DOS
>mode (that's why I switched to InfoZip).

My original post did say "PKZIP 2.50 for DOS" :-)


Amos Vryhof

unread,
Apr 14, 1999, 3:00:00 AM4/14/99
to
Sorry to kinda toss in a line from no where, but has anyone tried out the
WinZip Command line utilities??? (I haven't because I use LHA in DOS and
ZipMagic in Windows)

btw: LHA has always supportes Long File names

Al Aab

unread,
Apr 15, 1999, 3:00:00 AM4/15/99
to

........
pkzip 2.50
........


-------------------------------

http://oak.oakland.edu/simtel.net/


arcers/
pk250dos.exe 207394 990402 PKZIP 2.50 for dos from pkware


-------------------------------


--
=-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
al aab, seders moderator sed u soon
it is not zat we do not see the s o l u t i o n
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+

Yvan Loranger

unread,
Apr 15, 1999, 3:00:00 AM4/15/99
to

It was only a matter of time...


--
Merci.........................Yvan If you have no sense of humour,
e-mail: BQ...@FreeNet.Carleton.CA you should learn to laugh about it!

Chris Jones

unread,
Apr 15, 1999, 3:00:00 AM4/15/99
to
Al Aab wrote in message ...

> http://oak.oakland.edu/simtel.net/
> arcers/
>pk250dos.exe 207394 990402 PKZIP 2.50 for dos from pkware

This has already been posted on this thread twice, once by Joseph
(05/Apr/99), and again by Timo Salmi (11/Apr/99). I think we all know by now
where to get it from.


Praetorian

unread,
Apr 15, 1999, 3:00:00 AM4/15/99
to Chris Jones
Chris Jones wrote:
>
> Al Aab wrote in message ... (where to find PKZIP250)


> then Chris Jones said:
>
> This has already been posted on this thread twice, once by Joseph
> (05/Apr/99), and again by Timo Salmi (11/Apr/99). I think we all know > by now where to get it from.

...and I add my brilliant observation:

So .. what was your point, Chris? Spending too much time online maybe?

--
Men are from right here and now. Women are from way the hell over there.

fab...@ipiranga.com.br

unread,
Apr 16, 1999, 3:00:00 AM4/16/99
to
Hi, this is URGENT!!! please help me!!!!

I created a zip file using these commands

pkzip -r file.zip c:\folder\*.*

And I want to restore now the data with the full path with the command

pkunzip -d file.zip


and I got no success!!!


ONE YEAR OF WORK MAYBE LOST!!!!
PLEASE HELP ME.....


Is there a way I can do that?


I work at a Petroleum Company here in Rio de Janeiro - Brazil and we used the
ZIP 2.04G DOS evaluation


PLEASE....PLEASE...PLEASE.....HELP ME !!!!!!


>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

Chris Jones

unread,
Apr 16, 1999, 3:00:00 AM4/16/99
to
>> Al Aab wrote in message ... (where to find PKZIP250)
>> This has already been posted on this thread twice, once by Joseph
>> (05/Apr/99), and again by Timo Salmi (11/Apr/99). I think we all know >
by now where to get it from.
>So .. what was your point, Chris?

I think you know what my point was: Al should have read the thread through
before posting something which was already there. Although I must give him
credit for actually replying in the thread instead of posting a new message
like he normally does.

>Spending too much time online maybe?

Personally, I don't think that the 10 minutes per day internet access I have
is too much. But maybe I spend too much time offline reading through the
newsgroups...


Steen

unread,
Apr 16, 1999, 3:00:00 AM4/16/99
to
Sorry, but the -r switch only recurses the directories (it saves everything in
the subdirectories) but it does NOT save the paths. If you need the paths
saved you need to add the p or P

From online help (type pkzip with no arguments, or /? or /h) you will find

-p|P store Pathnames|p=recursed into|P=specified & recursed into
-r Recurse subdirectories

or for more details you can read the text manual in the distribution you'll
see

-r Recurse subdirectories
-rp Recurse subdirectories, preserve the path structure below
-rP Recurse subdirectories, preserve path structure specified and below

You have all the files stored, you just don't have the diretory structure
stored.

On Fri, 16 Apr 1999 16:20:05 GMT, fab...@ipiranga.com.br wrote:

| Hi, this is URGENT!!! please help me!!!!
| I created a zip file using these commands
| pkzip -r file.zip c:\folder\*.*
| And I want to restore now the data with the full path with the command
| pkunzip -d file.zip
| and I got no success!!!
|
| ONE YEAR OF WORK MAYBE LOST!!!!
| PLEASE HELP ME.....

<snip

| I work at a Petroleum Company here in Rio de Janeiro - Brazil and we used the
| ZIP 2.04G DOS evaluation

<snip>

Richard Gledson

unread,
Apr 16, 1999, 3:00:00 AM4/16/99
to
In article <7f7nva$21b$1...@nnrp1.dejanews.com>, fab...@ipiranga.com.br
writes

>Hi, this is URGENT!!! please help me!!!!
>
>I created a zip file using these commands
>
>pkzip -r file.zip c:\folder\*.*
>
>And I want to restore now the data with the full path with the command
>
>pkunzip -d file.zip
>
>
>and I got no success!!!
>
snip

As far as I am aware ( and I have just done a small test ) using the
recursion switch -r alone will add files from the specified directory
and sub-directories to the zip file but does not maintain the directory
structure. In addition if any of the file names in sub-directories are
duplicated then only the "top-most" file is added to the archive.
--
Richard Gledson, Newcastle upon Tyne, UK
(ri...@rgledson.demon.co.uk)

Timo Salmi

unread,
Apr 17, 1999, 3:00:00 AM4/17/99
to
In article <7f7nva$21b$1...@nnrp1.dejanews.com>, <fab...@ipiranga.com.br> wrote:
:Hi, this is URGENT!!! please help me!!!!

:I created a zip file using these commands
:pkzip -r file.zip c:\folder\*.*

You posted exactly the same posting to news:comp.archives.msdos.d
Please see the response in that newsgroup.

0 new messages