DOS command "LOCK" What does it do?

WARNING: The LOCK command enables direct disk access by programs that can CORRUPT file names and/or DESTROY disk data, resulting in the loss of files on your disk. Are you sure (Y/N)? What does THAT mean???.

Legacy OS 455 This topic was started by ,


data/avatar/default/avatar11.webp

73 Posts
Location -
Joined 2000-11-17
"WARNING: The LOCK command enables direct disk access by programs
that can CORRUPT file names and/or DESTROY disk data, resulting in the
loss of files on your disk.
 
Are you sure (Y/N)?"
 
What does THAT mean???

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar18.webp

25 Posts
Location -
Joined 2000-10-28
It locks a drive for direct disk access. Windows will not be able to protect long filenames with the disk locked.
Its for apps which require exclusive access to files. Use unlock to unlock (simple eh!)
 
Regards
 
Kristian Dorey AMIAP CNA CWD