We will use the attrib command to hide or show files or folders in Windows.
attrib: Using the attrib command in Windows, we can change file attributes (i.e., read-only, system and hidden flag).
attrib +h [file/folder name]: This will set hidden attributes to active. It will hide a file/folder.
attrib -h [file/folder name]: This will remove hidden attributes from a file to make files/folders visible to everyone.
How to Hide a File in Windows Using Command Prompt
1. Open your Command Prompt window using the Windows + R key combination, and then type cmd.
2. Navigate to the path where your file is located.
3. Type attrib +h file name to make it hidden.
4. To make it visible again, remove the hidden attribute using attrib -h filename.
1. Open your Command Prompt window using the Windows + R key combination, and then type cmd.
2. Navigate to the path where your file is located.
type CD + file name to navigate to the path, and type just CD.. to go back.
3. Type attrib +h file name to make it hidden.
4. To make it visible again, remove the hidden attribute using attrib -h filename.
ENJOY
ليست هناك تعليقات:
إرسال تعليق