Recycle your Computers & Technology with us.

How to lock and unlock in DOS command?

Posted By : Leonida of Chandler-Gilbert Community College on May 8, 2001

Follow us on Facebook   Follow us on Twitter   Follow us on LinkedIn

Let Data Doctors be your personal IT department today

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

Example:

LOCK C: this will lock the C: drive

For more information on DOS commands, log on to the following website:

http://www.computerhope.com/msdos.htm

About the author

Posted by Leonida of Chandler-Gilbert Community College on May 8, 2001

Need Help with this Issue?

We help people with technology! It's what we do.
Contact or Schedule an Appointment with a location for help!