DOS command "LOCK" What does it do?

This is a discussion about DOS command "LOCK" What does it do? in the Legacy OS category; 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 , . Last reply 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 in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Dec 2
Created
Dec 9
Last Response
0
Likes
1 minute
Read Time
User User
Users

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