This is just a quick utility I decided to write due to a slight bug in
DiskValid (which comes with AFS) which doesn't bother to uninhibit a drive
if you use Control-C to interrupt it. The syntax of the command is:
Inhibit DEVICE/A,ON/S,OFF/S
So to inhibit a drive (stop any programs accessing it through dos) you
would use say:
Inhibit Work: ON
And to turn off inhibition again you would use:
Inhibit Work: OFF
Be warned that if you uninhibit a drive while the program which originally
inhibited it is still running, you run the risk of losing some/all data on
your drive, this program is only meant to be used when a program has
crashed or for some other reason left the drive inhibited when it shouldn't
have.
I take absolutely no responsibility for any damage which may be caused due
to any sort of use of this program.
If you find any bugs in this program or have any comments about it, feel
free to email them to me or you'll find me on IRC as SimD if you want to
tell me there.
|