Computing.Net > Forums > Disk Operating System > Protected Mode

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Protected Mode

Reply to Message Icon

Name: Jeff
Date: July 23, 2000 at 18:21:09 Pacific
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: W0rm
Date: July 24, 2000 at 02:16:25 Pacific
Reply:

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


0

Response Number 2
Name: mr o
Date: July 24, 2000 at 06:03:35 Pacific
Reply:

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


0

Response Number 3
Name: JR
Date: July 24, 2000 at 10:04:12 Pacific
Reply:

Protected mode has nothing to do with long file names.


0

Response Number 4
Name: Jeff
Date: July 24, 2000 at 23:47:16 Pacific
Reply:

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.


0

Response Number 5
Name: JR
Date: July 25, 2000 at 05:03:53 Pacific
Reply:

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.


0

Related Posts

See More



Response Number 6
Name: Jeff
Date: July 25, 2000 at 05:32:06 Pacific
Reply:

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


0

Response Number 7
Name: mr o
Date: July 26, 2000 at 04:19:39 Pacific
Reply:

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...


0

Response Number 8
Name: JR
Date: July 26, 2000 at 05:41:07 Pacific
Reply:

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?


0

Response Number 9
Name: Jeff
Date: July 27, 2000 at 19:58:19 Pacific
Reply:

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.


0

Response Number 10
Name: Jon Fox
Date: July 28, 2000 at 22:27:37 Pacific
Reply:

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.


0

Response Number 11
Name: Jon Fox
Date: July 28, 2000 at 22:29:19 Pacific
Reply:

Oh and of course a program only has LFN support if it's been coded that way.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Protected Mode

CPU error / Protected Mode www.computing.net/answers/dos/cpu-error-protected-mode/14905.html

Protected Mode www.computing.net/answers/dos/protected-mode/659.html

Real-Mode vs Protected-Mode www.computing.net/answers/dos/realmode-vs-protectedmode/7259.html