"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???...
Topic Options
#58387 - 12/02/0006:29 AMDOS command "LOCK" What does it do?
Draftsman
journeyman
Registered: 11/17/00
Posts: 73
"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.
#58388 - 12/09/0009:38 AMRe: DOS command "LOCK" What does it do?
krisdorey
newbie
Registered: 10/28/00
Posts: 25
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!)