954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

DOS command for password protecting Files and Folders

Please tell me by which DOS command, we can protect a file or folder with a password.

ajeckhobar
Newbie Poster
8 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

pls use pkzip to compress and protect from password in dos

yogesh_vb
Newbie Poster
3 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

there is no such command in MSDOS

DimaYasny
Posting Virtuoso
Moderator
1,777 posts since Jan 2007
Reputation Points: 183
Solved Threads: 89
 

RE: to protect to Folder go to DOS Prompt then select the directory where the folder is like my folder is in D partition and named local
d:\
D:\attrib local +h +s

you will se your folder is hidden but it will be not show in show hidden files option..

no if you want to see your folder do the same process but put -h -s like

d:\
D:\attrib local -h -s
(REMEMBER IT IS NOT A HIDDEN OPTION)

Remember me in your prayers

Thanks & Regards
Kashif Mohammad (+92-314-9669697)

deo2_mansehra
Newbie Poster
2 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You