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: Give junction point Special Folder properties?

22 Nov 2014   #1
Clonkex

Windows 7 Home Premium x64
 
 
[SOLVED] Give junction point Special Folder properties?

Hi all,

I recently bought a new Samsung 840 Evo 250GB SSD. Previously I had been using a Seagate 1TB platter-based HDD. I used Paragon Migrate OS to SSD to migrate most of my files over, leaving behind all my big games and my My Pictures, My Videos and My Music folders which all contained a lot of data and can't go on the SSD.

In order for my playlists (among other things) to work without having to go through and manually edit each file, I created junction points to my 1TB HDD. The problem with that is two-fold: First, the folders have the shortcut symbol on them. This is a very minor complaint, but ideally I want the folders to look exactly like folders. Second, the folders have to be named Pictures, Videos and Music, since that's what they're actually called. This is a problem because I want them to be visibly called My Music etc.

And this is my question: Is it possible to make a junction point look exactly like a My Music folder, including the fake name? Any ideas would be much appreciated


My System SpecsSystem Spec
.
28 Nov 2014   #2
Clonkex

Windows 7 Home Premium x64
 
 

Unashamed bump-because-surely-someone-must-know-even-with-410-views.
My System SpecsSystem Spec
28 Nov 2014   #3
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Hi Clonkex,

You didn't mention anything about icons not showing on the Junction points, regardless, I'll explain how it's done to get icons working on them.

Simply give the Junction points either a Read-only or System attribute (preferably read-only) and the icons on the Junction points should match up with the target.

Example of giving a Junction point (or Symbolic Link) a read-only attribute:
Code:
Attrib <PathOfJunctionPt> +R /L

Now to make the names look proper, it's going to be tricky. Desktop.ini files do not affect the display name of junction points. Here, you can only do something fancy:

Step 1) Set a hidden attribute to each of your junction points.
Step 2) Create new junction points that point to these hidden junction points.
Step 3) Now you may rename the new juntion points to whatever you like.

Take for instance:
D:\Somepath\My Music
and
D:\Somepath\Music

Where both are Junction points. The 'Music' junction will be hidden but still be seen/accessable by programs. The 'My Music' junction (which you should create) that you will see and use, will point to the 'Music' junction which in turn points to the real folder.

Remember to set a Read-only attribute to each of the junctions if you want the icons to display.


To answer your actual question, but
Quote   Quote: Originally Posted by Clonkex View Post
Is it possible to make a junction point look exactly like a My Music folder, including the fake name?
No. It's not possible. A Junction point is not a folder.


As for the little annoying blue arrow on the virtural folders, I'm sure someone else in this forum can hopefully butt in and give a suggestion on how to remove it.
My System SpecsSystem Spec
.

28 Nov 2014   #4
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Hi Clonkex, and Pyprohly welcome to 7F!

Hey guys, you don't mind if I "butt in" do ya?

To remove the shortcut arrow:
Shortcut Arrow - Change, Remove, or Restore

If you wanted to streamline the look even further as in hiding the Icon:
How to Hide a Folder or Shortcut Icon in Vista and Windows 7

Don't forget to check the Related Tutorials at the bottom of each tutorial. There is an extensive repository of Tutorials here, I find its easier to look for them using the Tutorials Quick Reference Index.


Clonkex, hows that Samsung running, did you have any problems connecting it?
My System SpecsSystem Spec
28 Nov 2014   #5
Clonkex

Windows 7 Home Premium x64
 
 

Wow, those were fast replies! Awesome, thanks for the help!

Quote:
You didn't mention anything about icons not showing on the Junction points
No I didn't, but I'm glad you told me anyway because I just noticed the icon is only working for one of the folders.

Quote:
Desktop.ini files do not affect the display name of junction points.
So THAT'S how those folders know what to call themselves!! I'd been searching for ages, trying to work out what it was that identified them! Didn't help that, while I've seen Desktop.ini files before, I've never known what they were for.

Quote:
The 'Music' junction will be hidden but still be seen/accessable by programs. The 'My Music' junction (which you should create) that you will see and use, will point to the 'Music' junction which in turn points to the real folder.
That's brilliant! What a good idea! I can't believe I didn't think of that. The only disadvantage is that when I point new programs to the music folder I will have to manually type 'Music' into the address bar if I want to allow future compatibility if I were to move my music folder back to my SSD. Small price to pay, however - very good idea, thank you!

Quote:
Hey guys, you don't mind if I "butt in" do ya?
Certainly not - butt away :P

Quote:
To remove the shortcut arrow:
Hmm... that removes the arrow for all shortcuts, does it not? I would like to keep my shortcut arrows for actual shortcuts, just not for these specific junction points. Asking a lot, I realise, but you never know what clever little tricks some Windows experts have up their sleeves so it's always worth asking :P

Quote:
If you wanted to streamline the look even further as in hiding the Icon:
lol I don't even know why you'd want that!

Quote:
There is an extensive repository of Tutorials here, I find its easier to look for them using the Tutorials Quick Reference Index.
Cool thanks, that's useful!

Quote:
Clonkex, hows that Samsung running, did you have any problems connecting it?
It's really great! No problems whatsoever! Super-speedy, and Paragon's Migrate OS to SSD did a perfect job

So now I'm going to go do some quick experimentation before I go to bed. Hopefully your solutions will result is a near-perfect end product. At the very least, they'll do the main things I wanted: Correct visual AND actual folder names and correct icons. The shortcut icons... I can definitely put up with

I won't mark as Solved until I've got the best possible solution (and I know it all works!) but I'm pretty sure you've solved my biggest problems. Cheers!
My System SpecsSystem Spec
28 Nov 2014   #6
Clonkex

Windows 7 Home Premium x64
 
 

I put together a quick batch to do it for me and it works beautifully! Have a look:

Code:
@echo off

echo Creating program-accessible junction point links...
echo.

mklink c:\users\%USERNAME%\Music e:\users\%USERNAME%\music /J
mklink c:\users\%USERNAME%\Pictures e:\users\%USERNAME%\pictures /J
mklink c:\users\%USERNAME%\Videos e:\users\%USERNAME%\videos /J

echo.
echo Creating visible junction point links...
echo.

mklink "c:\users\%USERNAME%\My Music" e:\users\%USERNAME%\music /J
mklink "c:\users\%USERNAME%\My Pictures" e:\users\%USERNAME%\pictures /J
mklink "c:\users\%USERNAME%\My Videos" e:\users\%USERNAME%\videos /J

echo.
echo Setting attributes...
echo.

attrib c:\users\%USERNAME%\Music +H /L
attrib c:\users\%USERNAME%\Pictures +H /L
attrib c:\users\%USERNAME%\Videos +H /L
attrib "c:\users\%USERNAME%\My Music" +R /L
attrib "c:\users\%USERNAME%\My Pictures" +R /L
attrib "c:\users\%USERNAME%\My Videos" +R /L

echo Done! Now restart explorer (or log out and in).
echo.
pause
My System SpecsSystem Spec
28 Nov 2014   #7
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

That was quite quick of you to piece together that script.

Quote   Quote: Originally Posted by Clonkex View Post
So THAT'S how those folders know what to call themselves!
There's a reason for everything.
Also, by "Special Folder Properties" in the thread title, I guess you were refering to these 'desktop.ini' files -- which, no, cannot be 'given'/applied to Junction points (exception: the custom icon setting in the file which does take affect on Junctions (if the junction has a Read-only or System attribute of course)).


Anyway, glad you sound very satisfied.

Please mark the thread as Solved once you feel that all your questions have been answered.

You may post back any time should you requre further assistance on this topic.
My System SpecsSystem Spec
28 Nov 2014   #8
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Quote   Quote: Originally Posted by Clonkex View Post
Hmm... that removes the arrow for all shortcuts, does it not? I would like to keep my shortcut arrows for actual shortcuts, just not for these specific junction points. Asking a lot, I realise, but you never know what clever little tricks some Windows experts have up their sleeves so it's always worth asking :P
You're correct. I looked through the tutorial and didn't find any similar desire, I would suggest to go to the tutorial and submit your question there, if anyone would know it would be Brink.
My System SpecsSystem Spec
28 Nov 2014   #9
Clonkex

Windows 7 Home Premium x64
 
 

Quote:
I would suggest to go to the tutorial and submit your question there, if anyone would know it would be Brink.
Done!
My System SpecsSystem Spec
29 Nov 2014   #10
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

I see Brink didn't know of a way to remove that overlay from within the OS, but I may have found two third-party programs that might help, see this thread: http://Is there a way to show junctions differently in windows explorer? | superuser.com/questions

http://Link Shell Extension | schinagl.priv.at Is newer than http://NTFS Link | elsdoerfer.name as NTFS Link only mentions up to Vista and Link Shell up to Win7/8. They both look like they can remove the shortcut overlay, but if you want to try the NTFS link you may have to run it in compatibility mode for Win7.
My System SpecsSystem Spec
Reply

 Give junction point Special Folder properties?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
User Folder - Create Your Own Special Folders
How to Create Your Own Special User Folder I am dutch but for this tutorial I set my mui to English to make it easier on you. :D Here I have a folder called "Installatie" (that's dutch for Installation) I want to make a special folder in my username (in this case Michel on the left...
Tutorials
Contacts folder lost its special functions
My contacts folder is suddenly behaving like a regular folder. All the buttons specific to the contacts folder that used to be there like "New Contact", "Import/Export" are gone, replaced by the general folder buttons. There is no way to add a new contact. Even the File > New menu is missing...
General Discussion
Change folder/file location - use Move, Symbolic link or Junction?
I've finished a new build that uses a SSD as the system drive (and some programs) and has a secondary HDD. I'm just getting ready to add programs and move data (documents, photos, music, etc.) to the new system. First time SSD user and have done most of the suggested configurations to prolong...
General Discussion
'Special' Documents folder shortcut on desktop in Windows 7.
So, I wanted to look into getting the 'special' My Documents (now just called Documents) on my desktop in Windows 7, just as it was in Windows XP. I want to have BOTH the Users folder and the Documents folder on my desktop, not just one or the other. I did some searching through the registry to see...
Customization
Folder Properties General Tab doesn't show Folder 'Size', 'Contains'
Hello Friends, Over the past few days I have noticed that my Folder Properties (Right Click > Properties) doesn't show the 'folder size' or the 'number of files/folders' the folder contains. In the General Tab of the Folder Properties the following is displayed: Size : 0 bytes Size on...
General Discussion
"Default User" junction point folder issue
Hi I was wondering, and I should've asked here earlier, will the repair install re-create the "Public" and "Default" folders (which are in my "Users" folder) after I've deleted them? How about any junction for those two folders? I know I had one for "Default". Thanks.
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 19:40.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App