Windows 7 Forums


Windows 7: Shortcut in a path breaks hyperlink

17 Apr 2012   #1

Win 7 32 bit
 
 
Shortcut in a path breaks hyperlink

Hi, I have the situation where a directory path has changed and I have emails that have hyperlinks to files (in the emails) that point to the old path. In my old Unix days I would have just created a link using ln command. In Windows I can create a shortcut to the old directory (which works in explorer), but the name I create has a .lnk extension. This seems to break the hyperlink.

Does anyone know a way to make the old path valid so that the hyperlinks work?




Example:
  1. Hyperlink points to c:\a\x.doc
  2. c:\a is renamed c:\b
  3. shortcut c:\a created pointing to c:\b
  4. off course c:\a is actually c:\a.lnk in Windows
  5. Hyperlink broken
In my real situation the moved directory sits in the middle of a long path.

Any help/workaround would be appreciated.

Julian

My System SpecsSystem Spec

17 Apr 2012   #2

Windows 8 Pro
Standish, Lancashire, England
 
 

This is not my area but you should be able to sort it with a symlink/junction point.

From an administrator/elevated command prompt
Code:
Mklink /j "c:\a" "c:\b"
My System SpecsSystem Spec
17 Apr 2012   #3

Win 7 32 bit
 
 

Thank you z3r010. I have tested on my home machine and it works exactly as I want it to. However and there always seems to be one. I need to be able to this as a user on a domain without administration rights. Any suggestion? Not sure why Microsoft made this an admin only function. I suppose general users would never need it. Cheers Julian
My System SpecsSystem Spec
.


17 Apr 2012   #4

Windows 8 Pro
Standish, Lancashire, England
 
 

Sorry, as I said it's not really my area so hopefully somebody else will have some input.
My System SpecsSystem Spec
19 Apr 2012   #5

Win 7 32 bit
 
 

Solution is great for local disks and works fine, but on a shared network drive in the corporate environment I could not get it to work. If anyone has alternative that would be helpful. Suggestion very much appreciated. Thanks
My System SpecsSystem Spec
Reply

 Shortcut in a path breaks hyperlink problems?



Thread Tools



Similar help and support threads for: Shortcut in a path breaks hyperlink
Thread Forum
sending a hyperlink Browsers & Mail
iframe/hyperlink issue Gadgets
How to force a hyperlink to open in IE? Browsers & Mail
broken path all shortcut BSOD Help and Support


All times are GMT -5. The time now is 11:20 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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