View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12775 Members
Join this group to post and comment.
vishalhak
vishalhak • Oct 29, 2007

protecting a folder using dos?

hello friends,
could any one of you tell me how to protect a folder/file using DOS ?

๐Ÿ˜Thanks in advance for you answers.๐Ÿ˜
Kaustubh Katdare
Kaustubh Katdare • Oct 29, 2007
vishalhak
hello friends,
could any one of you tell me how to protect a folder/file using DOS ?

๐Ÿ˜Thanks in advance for you answers.๐Ÿ˜
Any specific reasons for which you want to protect folders using DOS? I recommend using Folder Lock utility.

-The Big K-
vishalhak
vishalhak • Oct 29, 2007
not any big reason, i am collecting information on hidden features of dos
๐Ÿ˜
crook
crook • Oct 30, 2007
I don't know if there is a facility to password-protect folders using DOS. You can use ATTRIB command to hide the folder!

ATTRIB [d:][path]filename [/S]
ATTRIB [+ R|-R] [+A|-A] [+ H|-H] [+ S|-S] [d:][path]filename [/S]
vishalhak
vishalhak • Oct 30, 2007
Thanks for the information, but i needed something else.
psd_8989
psd_8989 • Jan 20, 2008
the following method works for windows98

with helpp of following method u can create folder that can not be accesed
from explorer , not even deletd .
folder that cannot be accessed from the Windows Explorer: Open MS-DOS prompt,
type mkdir followed by a space, then hold ALT key and type 251. Then release
ALT. Now you can save there anything you want to hide. Windows Explorer cannot
display the content of this folder. You can use these numbers instead of 251:
158, 159, 169, 176 to 224, 226 to 229, 231 to 240, 242 to 245, 247, 249, 252,
254 and 255.
For me, only 176, 249, 251 and 254 worked. To access this folder from windows,
just rename it into a normal name. To do so, open MS-DOS, enter the directory,
where your folder is placed and type ren followed by a space, then hold alt and
type the number, that you used when you created your folder. Press space again
and then type the new name of your folder. Press enter.

Pls submit such a trick for XP if any one found

Share this content on your social channels -