How To Hide Files Or Folders Using Command Prompt
By MightyAkshay
Code To Hide File/Folder
attrib +s +h "E:\My Movies\hubpages.txt"
Above "E" refers to the drive letter in which the file/folder is stored. "My Movies" refers to a folder in drive "E" where the file to be hidden is stored. "hubpages.txt" is the file you want to hide.
PLEASE READ THE STEPS BELOW FOR BETTER UNDERSTANDING :-) !!
Step 1
Copy the Address of your desired folder or file to be copied.
For example: I want to hide a folder named "My Movies" which is in "E" drive.
So its Address will be; "E:\My Movies" (without quotes)
Step 2
Then go to Start, select Run, and type "cmd" in it. Press Enter.
Step 3
After Command Prompt Opens, Give the command as follows :
attrib +s +h "E:\My Movies"
Step 4
After giving the command, Press Enter. Your Command Prompt will look like
this for a very few seconds:
Step 5
And then it will proceed to a new line waiting for a new command to be given to it!
Step 6
Then Open My Computer and go to E Drive
Step 7
"My Movies" folders in not seen in the above image as it is hidden...!! No one
will able to view it as it is hidden. But if you want to access it again simply open
"My Computer" and type the address of the folder you have hidden, which in this
case is "E:\My Movies" (without quotes)
MightyAkshay 7 months ago
@conquesto
type "color 0a" in cmd and press enter. BOOM...!!! You get the same color which i have got..!! its so simple