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
jruhill

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
MvdB

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
Brink
Microsoft MVP

64-bit Windows 10
 
 

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
jruhill

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
Brink
Microsoft MVP

64-bit Windows 10
 
 

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

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
jruhill

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 Win7 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
MacGyvr

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
Thread Forum
Cannot search symlink or junction sub-folders.
After entering a folder by following a symbolic link or junction the search function works correctly. If any sub-folder is entered search no longer works (i.e., always returns "No items match your search."). Is this a bug, a feature, expected behavior? :confused: I want to link to a folder on...
General Discussion
Many junction points broken under %userprofile%
all the junction points under %userprofile% got broken. when double-click, explorer prompts "XXXXX is not accessible". however the target folder (e.g. "%userprofile%AppData\Roaming\Microsoft\Windows\Recent") can be opened normally; at the same time the junction point can be accessible in cmd.exe,...
General Discussion
Can I Edit A Junction?
Hello. I have about 15 junctions. Rather than remove them and recreate them pointing to another folder, I would prefer to edit or modify the existing junctions and change the path they point to. Example: E:\steam\steamapps\common\game is a junction to d:\steam-storage\game I would like to...
Customization
Windows 7 Backup and Junction Directories
Hello, first post here (sorry if it gets double posted, browser crashed on first submit). I have a C:\Users *directory junction* mapped to D:\Users. I used the following to achieve this: "mklink /J C:\Users D:\Users". Question is: if I do a *system image*, will my files on D:\Users be backed...
Backup and Restore
Weird junction problem
Hey everyone, this is my first post on the forum - I hope someone here will be able to help me out. I recently bought an SSD and in order to conserve space on the drive, I did a fresh install of Windows 7 and created junctions for the "Program Files", "Program Files (x86)", "Users", and...
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 14:09.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App