How to Hide or Show Folder and Files Using Command Prompt? - Tech Guy Nepal

Post Top Ad

Responsive Ads Here

How to Hide or Show Folder and Files Using Command Prompt?

Share This


Today I'll show you how can we hide or unhide files and folders in windows using Command Prompt with very simple steps.


1. Open Command Prompt --
- Click on Start > Type "CMD" on search bar (without inverted comma) and press enter OR,

- Press Windows Key + R and type "CMD" and press enter button.


2. Now Change the directory of the files or folders using the drive letter followed by colon symbol.
 - If your computer shows the USB drive in "F" drive, then type "F:" and press enter. (without inverted comma"

3. Type the following command to hide the file or folder:
   - attrib +s +h +r FolderName
   - attrib +s +h +r Windows (Here we're hiding a folder named Windows, Follow the same process to hide the files or other documents including Audio, Video, PDF etc.)


Now We've successfully make our files and folder hidden using command prompt.

What about restoring the files or folder, Let's see how can we unhide the files or folder using easy steps on Command Prompt?


- Go to Command Prompt (Follow steps from Step Number 1)

- Go to the specific USB drive by typing drive letter followed by colon sign. ( Type F: and press enter, here your drive letter is F)

- Now type the following command to get back the hidden files or folders to the normal state.

- attrib -s -h -r FolderName (Same command to unhide specific files or documents)


Thank You !!!











No comments:

Post a Comment

Post Bottom Ad

Responsive Ads Here