answersLogoWhite

0


Best Answer

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

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Practically you can not lock the folder.. Yes you can set the password for the folder using DOS command but it is unusable for windows..

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to lock folder using DOS command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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 do you delete a folder from command prompt?

In Dos-just write (DEL Folder Name) this command will delete all the Files inside that folder,then write (RD Folder Name) This will Remove your Folder. Remember both command contain Same folder name. Which you want to Delete.(DEL)command is used to delete Files. (RD) command is used to delete Folder