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: Shortcut in a path breaks hyperlink

17 Apr 2012   #1
JulianPaul

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
z3r010

 

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
JulianPaul

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
z3r010

 

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
JulianPaul

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




Thread Tools




Similar help and support threads
Thread Forum
How do i copy folder path in windows 7 using shortcut-key(from KB)
Hi Friends, I am facing one issue facing and need ur help on this. Issue: Many times i have opened many folders in windows 7 and want to save a text file from a editor(say editplus) to a specific folder from the above list. I do Alt+tab and open that folder session (see the attached file...
General Discussion
Find the actual program path of a shortcut in Win 7 Pro
Hello, I am on Win 7 pro, and it is a totally new system for me and it does nothing like XP or previous OS. Anyway, you used to be able to right click a shortcut icon and see the path to the actual program, now the only path the icon shows is the path to the shortcut, duh. I know where the...
General Discussion
Shortcut problem (relative path)
Hi everyone, Someone know how I could change my shortcut path, regardless of the machine ? My picture is in C:\Users\Manon\Desktop\perso\1.png. I made some research, I have to change the "Start in" in the properties of the shortcut. But what I have to write in ? Thanks for your advices,...
General Discussion
How to change default desktop shortcut path for new installs
Hi, I recently changed the default install path on Windows 7 from C: to D: using regedit. However now all software and games I install have their desktop shortcut defaulted to the old install path on C:\Program Files\ which of course means they don't work and I have to change the shortcut...
Software
sending a hyperlink
In Windows Live Mail, when I start a new message, all choices are available to me, including "hyperlink" (I want to hyperlink a phrase in my message). But when I do a reply, the hyperlink choice is greyed out in both the message ribbon and insert ribbon. Is that normal behavior?
Browsers & Mail
broken path all shortcut
helo everybody.. i have a problem that all my icon window seven have broken path include control panel icon..can u all help me how to fix and repair the path shortcut..all shortcut only can open with 1 program..its cannot by their program self..helppss:cry:...
BSOD Help and Support


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:10.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App