answersLogoWhite

0

I am not aware of any way to lock access to a folder directly using command prompt, but there are alternative similar methods.

There is an excellent post on the "Computer Tips From A Computer Guy" weblog, that details how to make a folder work as a link to the Control Panel (locked), or simply open and show the contents (unlocked). His method involves using a batch file to change windows reference to the folder.

He also provides an alternative method using a 3rd party freeware application called Free Hide Folder, which hides the folder completely, the only way to restore it is open the application and provide a password.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

How do you copy a folder using ms-dos?

The COPY command


How can a folder be hidden in Windows 98 using MS-DOS?

first of all u create a folder then use: attrib -h <foldername> to hide it. u can also lock folder using dos by usin number key ...


What is command in DOS?

RD command is used to remove a directory (folder).


How do you create a folder on MS-DOS using the MD command?

At the dos prompt (c:>), type md then a space, then the name of the folder you want to create. Example md foldername


In DOS what does the command MD do?

Creates a new directory or folder.


What is RD command in MS-DOS?

RD command is used to remove a directory (folder).


What is the command line command to move up one level in the folder structure in windows DOS?

CD..


What is the Windows 98 equivalent of Windows XP's system32 folder?

It's the System folder. But if you are looking for windows/dos commands you'll find them in the Command folder


Ms-dos external commands with examples?

The MS-DOS 7 External Commands(Programs in the Windir\COMMAND folder)Table of Contents (the Programs)attrib choice command debug


Dos command for exporting a list of files as text file?

open command prompt start --> run --> CMD go to the particular folder with commad "cd <space> folder name" enter the below command "dir >> list.txt" it will create a list.txt file in the same folder


How do you run checksum from DOS prompt?

You can do it by using "chkdsk" command.


How can we lock the file with DOS?

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.