Re: Rob craig

new topic     » goto parent     » topic index » view thread      » older message » newer message

To Bernie Ryan:

Here's a fix for DOSWRAP.E that lets your testme.ex
run correctly in a DOS window,
*and* when the system is restarted as plain DOS 7.

Just change the line in DOSWRAP.E in
DosOpen() that reads:

       if DosVersion < 7 then

to:

       if DosVersion < 7 or atom(getenv("windir")) then

The extra "windir" part lets the code detect that although it's
running in DOS 7, it is not running under Windows,
therefore long filenames aren't supported.
(Maybe someone knows an easy, 100% fool-proof,
way of detecting this.)

I'll change Jacques' code on the Archive page.
There are a couple of other places where he checks DosVersion.

Originally, doswrap.e did not support long filenames,
so this bug didn't exist. In June 1997 Jacques started supporting
long filenames, but he forgot this problem with plain DOS 7.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu