Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Some junction became visible

26 Jun 2011   #1

windows 7 home premium 64bit
 
 
Some junction became visible

How do I hide the "My Documents" junction (and "My Pictures" etc. in "Documents" folder)? I think the four junctions became visible after I unzipped a 7-zip file containing the "My Documents" folder created in an XP machine. The junctions are now visible regardless of the "hide system files" etc. settings in explorer. The four junctions are also listed when I "dir" in cmd.exe. No other junctions are visible in either explorer or cmd.exe.

I can't see any option to hide a junction when I right-click -> Properties on it. How do I do this, i.e. get them back the way they were initially?

My System SpecsSystem Spec
.

26 Jun 2011   #2

Windows 7 64b Ultimate
 
 

Hello Jruhill, welcome!

I'm not sure what you mean by "junction". Sounds like you've copied/extracted directories out of a zipfile, possibly with subdir's too. If that's the case, assuming you did not need the dir's on this machine, can't you just delete these dir's?
However, if you're unsure, then please upload a snip/picture of a explorer window of your "My Documents" with Detail settings on. We'll have a look at that.
My System SpecsSystem Spec
26 Jun 2011   #3
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Jruhill, and welcome to Seven Forums.

You might check using step 3 in the tutorial below to select (dot) the Don't Show hidden files, folders, and drives box to see if that may hide them again for you.

Hidden Files and Folders - Show or Hide

Hope this helps,
Shawn
My System SpecsSystem Spec
.


26 Jun 2011   #4

windows 7 home premium 64bit
 
 

Thanks, but your suggestions didn't help. I eventually resolved it by (in cmd.exe):

Code:
attrib -r +h +s +i /L "My Documents"
My System SpecsSystem Spec
26 Jun 2011   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

That's great news Jruhill. I'm happy to hear that you got it sorted.
My System SpecsSystem Spec
26 Jun 2011   #6

Windows 7 64b Ultimate
 
 

Quote   Quote: Originally Posted by jruhill View Post
Thanks, but your suggestions didn't help. I eventually resolved it by (in cmd.exe):

Code:
attrib -r +h +s +i /L "My Documents"
Help me out here... I don't get it yet... Why would you want that on a My Documents?
Just to not show? Or should it not have been there in the first place?
My System SpecsSystem Spec
26 Jun 2011   #7

windows 7 home premium 64bit
 
 

Windows 7 (and Vista I guess) changed the directory structure of Windows XP. In Windows 7, "My Documents" is merely a link (called junction actually) to the "Documents" folder. Similarly, "Documents/My Music" is a junction to the "Music" folder (under c:\Users\me\). The same goes for Pictures and Videos.

I think Windows 7 does the junction thing for compatibility reasons. It was also good for me, because when I restored my XP "My Documents" folders, my files got automatically placed in the correct Windows 7 folders. Well, except that 7-zip also mucked with the attributes of the junctions, making them visible. The attrib command merely restores the attributes back to what they were (the switch /L is important, otherwise the command hits the folder the junction links to.)
My System SpecsSystem Spec
26 Jun 2011   #8

Windows 7 Ultimate RTM (Technet)
 
 

It isn't supposed to be hidden, but if that's what you want.....oh well.
My System SpecsSystem Spec
Reply

 Some junction became visible




Thread Tools



Similar help and support threads for2: Some junction became visible
Thread Forum
Solved Cannot search symlink or junction sub-folders. General Discussion
Solved Many junction points broken under %userprofile% General Discussion
Solved Can I Edit A Junction? Customization
Windows 7 Backup and Junction Directories Backup and Restore
Directory junction/symbolic link not working General Discussion
Solved Weird junction problem General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:04 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33