how to lock & unlock in dos command
This question was answered on May 8, 2001. Much of the information contained herein may have changed since posting.
A: Hello and thank you for your question.
The LOCK/UNLOCK command enables a user to lock or unlock a drive, enabling/disabling direct disk access for an application.
At the command prompt, type the following:
LOCK [drive:] the drive specifies the drive to be locked
UNLOCK [drive:] the drive specifies the drive to be unlocked
LOCK C: this will lock the C: drive
For more information on DOS commands, log on to the following website:
About the author
Posted by Leonida of Chandler-Gilbert Community College on May 8, 2001