 | | Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks. | Windows 7 - File and Folder - Hide or Unhide
File and Folder - Hide or Unhide How to Hide or Unhide a File or Folder in Windows 7 and Vista
Published by Brink
01-17-2010
| File and Folder - Hide or Unhide How to Hide or Unhide a File or Folder in Windows 7 and Vista  Information This will show you how to set a file or folder to be hidden or unhidden in Windows 7 and Vista. OPTION ONE
Through the File's or Folder's Properties Page
1.To Hide the File or FolderA) Right click on the file or folder, and click on Properties.
B) Check the Hidden box and click on OK. (see screenshots below) C) If this is for a folder and it has a subfolder or file in it, then you will also need to select (dot) to only hide the folder or to hide the folder and all of it's subfolders and files in it. Click on OK. (see screenshot below) D) In Folder Options, make sure that Don't Show hidden files, folders, and drives is selected (dotted). 3. To Unhide the File or FolderA) Open Folder Options, select (dot) Show hidden files, folders, and drives, and click on OK. (see screenshot below) NOTE: This way you will be able to see the hidden file or folder to be able to unhide it. B) Right click on the file or folder, and click on Properties.
C) Uncheck the Hidden box and click on OK. (see screenshots below step 2B)
D) If this is for a folder and it has a subfolder or file in it, then you will also need to select (dot) to only unhide the folder or to unhide the folder and all of it's subfolders and files in it. Click on OK. (see screenshot below step 2C)
E) In Folder Options, select (dot) Don't Show hidden files, folders, and drives, and click on OK. (see screenshot below step 3A) OPTION TWO
Through the Command Prompt
 Note This will show you how to hide or unhide a file or folder using the ATTRIB command.
While you can run this command in a non-elevated or elevated command prompt, you would get the best results using a elevated command prompt. 1. Open a elevated command prompt, then do either step 2, 3, 4, 5, 6, 7, or 8 below for what you would like to do. 2. To Hide a specific FileA) Open Folder Options and uncheck the Hide extensions for known file types option and click on OK. (see screenshot below) NOTE: This way you will be able to see the file extension in your file's name to use in the command below. B) In the command prompt, type the command below and press enter. NOTE: Substitute Full Path of File with extension within quotes below with your files's full path and name with the extension included within quotes instead. Code: ATTRIB +H "Full Path of File with extension" NOTE: For example, if I wanted to hide a text file named File with the file extension .txt on my desktop, I would type this command below. Code: ATTRIB +H "C:\Users\UserName\Desktop\File.txt"  C) In Folder Options, make sure that Don't Show hidden files, folders, and drives is selected (dotted).
D) The file should now be hidden. Go to step 7. 4. To Unhide a specific File A) Open Folder Options and uncheck the Hide extensions for known file types option and click on OK. (see screenshot below step 3A) NOTE: This way you will be able to see the file extension in your file's name to use in the command below.
B) In the command prompt, type the command below and press enter. NOTE: Substitute Full Path of File with extension within quotes below with your files's full path and name with the extension included within quotes instead. Code: ATTRIB -H "Full Path of File with extension" NOTE: For example, if I wanted to unhide a hidden text file named File with the file extension .txt on my desktop, I would type this command below. Code: ATTRIB -H "C:\Users\UserName\Desktop\File.txt" C) The file should now be unhidden. Go to step 7. 5. To Hide a specific FolderA) In the command prompt, type the command below and press enter. NOTE: Substitute Full Path of Folder within quotes below with your folder's full path within quotes instead. Code: ATTRIB +H "Full Path of Folder" /S /D NOTE: For example, if I wanted to hide a folder named Folder on my desktop, I would type this command below. Code: ATTRIB +H "C:\Users\UserName\Desktop\Folder" /S /D B) In Folder Options, make sure that Don't Show hidden files, folders, and drives is selected (dotted).
C) The folder should now be hidden. Go to step 7. 6. To Unhide a specific FolderA) In the command prompt, type the command below and press enter. NOTE: Substitute Full Path of Folder within quotes below with your folder's full path within quotes instead. Code: ATTRIB -H "Full Path of Folder" /S /D NOTE: For example, if I wanted to unhide a hidden folder named Folder on my desktop, I would type this command below. Code: ATTRIB -H "C:\Users\UserName\Desktop\Folder" /S /D B) The folder should now be unhidden. 7. To Hide a Folder and all Contents in the Folder NOTE: This will hide the selected folder along with all subfolders and files inside this folder.A) In the command prompt, type the command below and press enter. NOTE: Substitute Full Path of Folder within quotes below with your folder's full path within quotes instead. Code: ATTRIB +H "Full Path of Folder\*" /S /D NOTE: For example, if I wanted to hide a folder named Folder on my desktop along with all of it's contents, I would type this command below. Code: ATTRIB +H "C:\Users\UserName\Desktop\Folder\*" /S /D B) In Folder Options, make sure that Don't Show hidden files, folders, and drives is selected (dotted).
C) The folder should now be hidden. Go to step 7. 8. To Unhide a Folder and all Contents in the Folder NOTE: This will unhide the selected folder along with all subfolders and files inside this folder.A) In the command prompt, type the command below and press enter. NOTE: Substitute Full Path of Folder within quotes below with your folder's full path within quotes instead. Code: ATTRIB -H "Full Path of Folder\*" /S /D NOTE: For example, if I wanted to unhide a hidden folder named Folder on my desktop and all of it's contents, I would type this command below. Code: ATTRIB -H "C:\Users\UserName\Desktop\Folder\*" /S /D B) The folder should now be unhidden. 9. When done, close the command prompt. That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 34,822 | |
 Tutorial Tools | | | | | | | | | |
05-16-2010
|
#1 | | |
hide folder hey hiii
am using this trick but now am facing some problem..
am nt remebr ma folder name so how can i access it from comand prompt??
pls help
| My System Specs | | |
05-16-2010
|
#2 | | Windows 7 Ultimate x64 SP1 |
Hello Navdeep, and welcome to Seven Folders.
You could temporarily unhide all system files to see the hidden folder to see what it's name is. Hidden Files and Folders - Show or Hide
Hope this helps,
Shawn | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
12-10-2011
|
#3 | | |
Thanks A LOT Shawn.
Solved my problems | My System Specs | | OS windows 7 home premium |
12-10-2011
|
#4 | | Windows 7 Ultimate x64 SP1 |
You're most welcome Kevin, and welcome to Seven Forums. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
12-27-2011
|
#5 | | Windows 7 Home Premiun 64bit |
Shawn
Is there a way to copy a hidden file folder so the copied folder is also hidden? | My System Specs | | System Manufacturer/Model Number Clone OS Windows 7 Home Premiun 64bit CPU Intel Core i3-2100 301Ghz Motherboard Asus P8H61-M Rev 3.0 Memory 6 gig Graphics Card Onboard Sound Card Onboard Monitor(s) Displays HP w1858 Hard Drives WD Sata 500 Gig |
12-27-2011
|
#6 | | Windows 7 Ultimate x64 SP1 |
Hello rwmol,
When I copy a hidden folder and paste it somewhere, the pasted (copied) folder is still hidden for me. Is it not the same for you? | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
12-27-2011
|
#7 | | Windows 7 Home Premiun 64bit |
No. Perhaps I should have given you a little more info. These folders are being copied to another drive. Copied files work just fine. Not so with folders.
As an example, I created a folder named "test". Marked the attributes as hidden and copied it to another drive. The copied folder has hidden unchecked. | My System Specs | | System Manufacturer/Model Number Clone OS Windows 7 Home Premiun 64bit CPU Intel Core i3-2100 301Ghz Motherboard Asus P8H61-M Rev 3.0 Memory 6 gig Graphics Card Onboard Sound Card Onboard Monitor(s) Displays HP w1858 Hard Drives WD Sata 500 Gig |
12-27-2011
|
#8 | | Windows 7 Ultimate x64 SP1 |
What type (ex: internal, external, network, local, etc...) is the other drive, and how is it formatted (ex: NTFS, FAT32, etc..)?
I was able to copy a hidden "test" folder from my desktop to another internal HDD, and it was still hidden as well.
Until we can get this sorted, the context menu options in the tutorial below may help make it easier for you to set the copied folder as hidden again. File and Folder - Add "Hide" and "Unhide" to Context Menu | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
12-27-2011
|
#9 | | Windows 7 Home Premiun 64bit |
I've tried it on two types of drives. NFTS internal IDE drive and UDF internal DVD RW. In both cases the folder is unhidden.
Using the Context Menu method above doesn't really serve my purpose. Eventhough, effective for most people.
Randy | My System Specs | | System Manufacturer/Model Number Clone OS Windows 7 Home Premiun 64bit CPU Intel Core i3-2100 301Ghz Motherboard Asus P8H61-M Rev 3.0 Memory 6 gig Graphics Card Onboard Sound Card Onboard Monitor(s) Displays HP w1858 Hard Drives WD Sata 500 Gig File and Folder - Hide or Unhide problems? All times are GMT -5. The time now is 07:14 PM. |  |