Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm using 'PKZIP for DOS' and I can only get Long File Name support using it through the Windows DOS Prompt...when I use it through plain DOS (e.g. boot disk)...It only makes files with the the 8.3 format.
Is there a program or file that will make DOS run in protected mode without loading Windows?

errrr, you're in protected mode, in native dos, (unless you skip your mem managers) -> you just cant get long file name support under dos. i hear maybe LFNTOOLS (simtel maybe?) might be able to use long file names in plain dos (but no pkzip)
- W0rm

theres a version of pkzip V2.50 that supports the zipping of long filenames
(along with other improvments...)

Well JR...obviously you have'nt used PKzip for DOS 2.50.
Like I said, in Windows DOS mode, which (correct me if I'm wrong)runs in DPMI...meaning Dos Protected Mode Interface...I can zip files and unzip them keeping their Long File Names.
BUT...in native DOS it loses the LFN's and creates SFN's...and thats my problem.
Could you be more helpful instead of critical.

Well, PKZIP 2.50 will maybe use long file names only in protected mode, but still, long file names has only to do with a way of storing names on the disk, and not with the processor state. I can assure you, that protected mode has no logical bound to long file names.

...but is there a way of getting Protected Mode in the native DOS enviornment...without loading half the Windows drivers?

why do you want protected mode? is it only to save long file names? cos pkzip 2.50 does this from realmode(ie a dos boot)
There are ways of getting dos to load as protected mode, you can try replacing the command explorer.exe to command.com in system.ini,
this way when you boot, windows will load all the 32 bit extended features and then plonk you into dos. Multitasking should now work...

As all the DOS utils, i.e move, format, edit, command, etc are real-mode programs, either if you do it in protected mode or not you will have to emulate real mode or run them in virtual machine mode to run any DOS application. Windows 95 does this by emulating protected mode, while Windows 2.0 (in 386 enhanced mode) to Windows 3.11 does this with VM's.
Anyway, the only advantage you get from protected mode when you are running DOS is EMM or DPMI, which provides access to more memory. Unless you are a programmer, this doesn't matter for you as long as you just load EMM386 in config.sys, or the programs by themselfes either run in protected mode (like most games) or handle DPMI in some other way themselves.
Protected mode could of course be used for multi-tasking, but I know no program that can do this (except Windows 95 and likewise) and I don't know really how to write one myself.The question is, actuall, why do you want do enter protected mode, or rather, what do you want do do that you can't do in real mode?

Sorry Mr O...but but PKzip 2.50 in Real Mode only saves and/or inflates in 8.3 format.
I've tried every command and switch in it...it just wont do it...It WILL in Protected Mode though.
I think your right JR...looks like a programmers job and thats out of my league.

Yes JR is correct it's a file called ifsmgr.vxd that gives a DOS box under Windows LFN support nothing to do with protected mode directly. This virtual device driver can only be run under Windows to my knowledge. DOS cannot be run while the processor is in protected mode anyway.
There is a second way of using LFN's from a programmers point of view. According to Ralf browns int list this is available under pure DOS V7.2(Win 98), I think that that may be a typo however because I have Win 98 and it uses DOS V7.10, maybe it's supposed to be Win 98 SE? If anyone can confirm this please let me know.

![]() |
![]() |
![]() |

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