Solved Some junction became visible

jruhill

New member
Local time
2:21 PM
Messages
6
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 Computer

OS
windows 7 home premium 64bit
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 Computer

Computer Manufacturer/Model Number
custom build
OS
Windows 7 64b Ultimate
CPU
I7-2600 3.40GHz - testing various OC levels..
Motherboard
ASUS Sabretooth
Memory
2x 4Gb DDR3/1333
Graphics Card(s)
GTX570 - testing OC levels
Sound Card
motherboard 7.1 DIG.
Monitor(s) Displays
2x Ilyama 24" E2409HDS-B1 2ms/DVI
Screen Resolution
1920 x 1080
Hard Drives
120 GB Intel Elmcrest SSD
1 TB SATAII 7200RPM/32MB
External 2TB USB3
PSU
Corsair Pro HX850W
Cooling
Coolermaster Hyper V8
Keyboard
Logitech G110
Mouse
Logitech G700
Internet Speed
25Mb
Other Info
CPU: 7,7 RAM: 7,7 GTX: 7,9 GTX 3D : 7,9 SSD 7,6
Overall 7,6 ...... now to speed up the SSD... ;)

Also use a Dell XPS M1710 on Vista 32b
Asus LT on Vista 32
3 older machines still doing fine on Linux/ubuntu but not used much anymore...

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
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 Computer

OS
windows 7 home premium 64bit
That's great news Jruhill. I'm happy to hear that you got it sorted. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
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 Computer

Computer Manufacturer/Model Number
custom build
OS
Windows 7 64b Ultimate
CPU
I7-2600 3.40GHz - testing various OC levels..
Motherboard
ASUS Sabretooth
Memory
2x 4Gb DDR3/1333
Graphics Card(s)
GTX570 - testing OC levels
Sound Card
motherboard 7.1 DIG.
Monitor(s) Displays
2x Ilyama 24" E2409HDS-B1 2ms/DVI
Screen Resolution
1920 x 1080
Hard Drives
120 GB Intel Elmcrest SSD
1 TB SATAII 7200RPM/32MB
External 2TB USB3
PSU
Corsair Pro HX850W
Cooling
Coolermaster Hyper V8
Keyboard
Logitech G110
Mouse
Logitech G700
Internet Speed
25Mb
Other Info
CPU: 7,7 RAM: 7,7 GTX: 7,9 GTX 3D : 7,9 SSD 7,6
Overall 7,6 ...... now to speed up the SSD... ;)

Also use a Dell XPS M1710 on Vista 32b
Asus LT on Vista 32
3 older machines still doing fine on Linux/ubuntu but not used much anymore...
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 Computer

OS
windows 7 home premium 64bit
It isn't supposed to be hidden, but if that's what you want.....oh well.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate RTM (Technet)
CPU
3.00 gigahertz Intel Core2 Duo E8400
Motherboard
ASUSTeK Computer INC. P5K/EPU Rev 1.xx
Memory
4GB
Graphics Card(s)
ATI Radeon X1950 Pro
Sound Card
Built in HD Audio
Monitor(s) Displays
22" Gateway LCD
Screen Resolution
1920 x 1200
Hard Drives
ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK
Keyboard
Logitech G11
Mouse
Microsoft Wireless Laser Mouse 5000
Internet Speed
13.44 Mbps
Back
Top