Sunday 20 August 2017

windows - Is it possible to have shortcuts appear in the start menu search through a symbolic link?


I have a folder full of stuff that I sync across all my computers and virtual machines. It contains a whole load of stuff, including portable applications.


On a new OS installation, I run a batch script which (amongst other things) copies a folder of shortcuts, for these portable applications, to the start menu (all users).


As this synced folder is constantly changing, when I have added or removed portable apps, these shortcuts need to be updated across all my machines.


I created a script that runs as a scheduled task to keep them updated, but it would be much better if I could use symbolic links. However, this does seem to work properly.


When I make a symlink in the start menu folder, pointing to the folder of shortcuts within the synced folder, they do all appear in the start menu, but they do not appear in the start menu search-box when I search for them.


I have tried adding the R (read-only) attribute to the symlink, as the other folders in the start menu have that, but that does not help.


I have also added the target folder to the list of indexed folders, but that does not help either. Actually, I am glad that this was not the solution, as Windows Server 2008 R2 does not use that service unless the file server role is installed.


So, is there any way to make the start menu's search include application shortcuts that are included in the start menu through a symbolic link?



Answer



Create a junction instead, e.g. mklink /j link target. I just tested it and it appears to work handsomely.


I'm not quite sure why symlinks are not searched, but I suspect they might really be files.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...