Hide and unhide files using cmd prompt
Closed
Curly
-
Sep 26, 2019 at 05:16 AM
HelpiOS Posts 13179 Registration date Friday October 30, 2015 Status Moderator Last seen February 5, 2023 - Sep 26, 2019 at 06:58 PM
HelpiOS Posts 13179 Registration date Friday October 30, 2015 Status Moderator Last seen February 5, 2023 - Sep 26, 2019 at 06:58 PM
Related:
- Unhide files.bat
- .Bat folder unhide - Windows Forum
- Unhide files.bat virus - Hard Drive & SSD Forum
- Unhide virus infected files ✓ - Pen Drive, USB & SD Card Forum
- Unhide files hidden by virus - Viruses & Security Forum
- Unhide software - Download - File management
1 reply
HelpiOS
Posts
13179
Registration date
Friday October 30, 2015
Status
Moderator
Last seen
February 5, 2023
1,875
Sep 26, 2019 at 06:58 PM
Sep 26, 2019 at 06:58 PM
Hi,
To hide or unhide a file or folder with Command Prompt, you must first run it with admin rights. Open the Start menu and search for cmd. Right click on it and choose Run as administrator.
To hide, enter this command:
To unhide, enter this command:
The letter C should be changed by the drive letter where your file or folder is located.
To hide or unhide a file or folder with Command Prompt, you must first run it with admin rights. Open the Start menu and search for cmd. Right click on it and choose Run as administrator.
To hide, enter this command:
-
attrib +s +h c:\your-file
To unhide, enter this command:
-
attrib -s -h c:\your-file
The letter C should be changed by the drive letter where your file or folder is located.