TIP: Click on subject to list as thread! ANSI
echo: aust_avtech
to: Jasen Betts
from: Bob Lawrence
date: 2004-04-12 03:08:00
subject: Locking Windows

BL> The batch file must call its own window, and then when you call
BL> the LOCK function, it's a different app.

JB> I had the impression it worked on the command-line... no?

 I meant the actual function that calls Int21 440D.

 If you use the MSDOS command line function, it LOCKS the drive but
as soon as you try to do anything by calling a *different* function,
it doesn't work (and you leave the locked drive in limbo, relying on
Windows to UNLOCK).

 The only way you can make it work is to call a *single* function
which includes the LOCK int21 call, then what you want to do with the
drive, then UNLOCK using the corresponding int21 call.

 If you try to do it with three separate functions (using the command
line, a batch file or whatever), Windows sees the drive in limbo and
unlocks it for you before you can do anything.

 Maybe it makes sense to Microsoft, but it sure sounds like crap to
me.

JB>> If the modem connects to the PC via ethernet you need two
JB>> ethernet adaptors on the linux machine.

BL> That's my other problem. The old 486 is *too* old.

JB> ISA ethenet cards are cheap, but yeah, can be hard to find. (I
JB> can spare a couple if you want)

 Thanks for that, but John gave me a couple already...

Regards,
Bob
 

--- BQWK Alpha 0.5
* Origin: Precision Nonsense, Sydney (3:712/610.12)
SEEN-BY: 633/104 260 262 267 270 285 640/296 305 384 531 954 1042 690/734
SEEN-BY: 712/610 848 774/605 800/221 445
@PATH: 712/610 640/531 954 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.