Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Windows 7. I have a folder named Progs and there are lot of files and folders in it. If someone tries to access this folder Progs, no folder should be visible to anyone, and if someone tries to delete Progs they should not be able to do that.

In older versions of Windows there was an option to lock the folder using ren and ALT keys, but I don't think it's working in Windows XP now.

I don't to secure the files with third party software. I just want to hide and lock the folder in its place.

share|improve this question
You should use ACLs to do this instead. Besides, other users shouldn’t be able to access files in your user profile. – kinokijuf Apr 27 '13 at 11:53
i cant use ACL as other users knows my password is shared among other users – Hunt Apr 27 '13 at 12:25
If all the users share the same account, you can’t have any security. – kinokijuf Apr 27 '13 at 12:54
Don't really see the point to this question. If you wanna keep people out of certain rooms in your house you don't give them a key to your house and ask for ways to secure the rooms. – M.Bennett Apr 27 '13 at 14:40
up vote 0 down vote accepted

This is so simple:

attrib +R +H Progs
share|improve this answer
Note that this will only deter inexperienced users. It is simple to circumvent or undo. Maybe you can do something with Alternate Data Streams like… – Jan Doggen Apr 27 '13 at 11:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .