answersLogoWhite

0

To lock a file in DOS, you can use the ATTRIB command to set the file as read-only, which prevents modifications. The command syntax is ATTRIB +R filename, where "filename" is the name of the file you want to lock. Additionally, you can set file permissions using attributes like hidden or system. However, true file locking in DOS is limited, as it doesn't provide robust file locking mechanisms like modern operating systems.

User Avatar

AnswerBot

1mo ago

What else can I help you with?

Related Questions

How many charicters can a DOS file have?

A DOS file, or .bat file can have unlimited characters.


What has the author Craig Menefee written?

Craig Menefee has written: 'Harnessing DOS 6.0' -- subject(s): MS-DOS (Computer file), PC-DOS (Computer file) 'Byte's DOS programmer's cookbook' -- subject(s): MS-DOS (Computer file), Microcomputers, PC-DOS (Computer file), Programming


What is the file extension for MS-DOS?

There is no specific file extension for MS-DOS. Files can have any 3 character extension in MS-DOS.


DOS requires a 3 character file extension?

No. DOS allows a max 3 character long file extension.


From what file does the msbackup program in dos receive its settings?

The MSBACKUP program in DOS receives its settings from a .set file. This is file created after you make file selections and configure backup settings.


Can you run .exe file in dos operating system?

Yes, if it is a DOS program.


Explain executable versus non-executable files in DOS?

difference between executable file and non-executable file in dos


What is the DOS command for deleting a file called queue.txt?

birth file


A file that stores multiple DOS commands is called?

Batch File


How do you open a doc file in command promped?

i think this function is not available in ms dos . you can access the .txt files through dos and you can also able to print them through dos. if you are going to just open doc file than simply open dos drag and drop that file to ms- dos window after that hit enter and it will open.


What has the author Paul S Klose written?

Paul S. Klose has written: 'Releasing the power of DOS' -- subject(s): MS-DOS (Computer file), PC DOS (Computer file)


What is difference between delete file in DOS and delete file in Windows?

i don't know the difference but what i know is ... deleted file from MS-DOS is never go to the recycle bin. Thanks !