mdamjad
asked on
locking
I am using turboc 2.0 and I want to lock floppy drive.
I think u wan't to lock the device and not allow other processes to access it. But in that case u have to run the locking program as a background job. DOS is not multiprogrammable, in that case u need to go for TSR approach. It is impossible to give u the code but I recommend u to visit
http://amitmathur.8m.com/resources/article4.html
Do not misuse it :-)
Avik.
http://amitmathur.8m.com/resources/article4.html
Do not misuse it :-)
Avik.
This has what you require,enabling/disabling the floppy drive using Turboc code:
http://c.ittoolbox.com/code/d.asp?d=2042&a=s
http://c.ittoolbox.com/code/d.asp?d=2042&a=s
Nice shot ankura,
Turbo C 2.0 still alive?? I was using the 3.0 a few hundred years ago :)
Turbo C 2.0 still alive?? I was using the 3.0 a few hundred years ago :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What does the LOCK command do on DOS ? Is that what you are looking for?
Cheers.