Windows create shortcut with relative path


















I have seen a lot of posts about creating a relative shortcut to a specific file or starting programs, but I am having difficulty finding one that works for my following scenerio: I have a folder setup where I want to people to go from multiple locations to a common folder: i.

Thanks for the help in advance. This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question 1. Report abuse. Details required :. Cancel Submit. Frederik Long. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site.

In reply to Frederik Long's post on October 13, Thank you Frederick. Active 25 days ago. Viewed k times. Peter Mortensen William William 8, 23 23 gold badges 73 73 silver badges bronze badges. If somebody else installs the game, will that affect the existing shortcut? Will they be installing to a completely different folder, but it will still break the existing link? Add a comment. Active Oldest Votes. On Windows 7 you will get bat - Shortcut in the current directory. On Windows XP you will get Shortcut to bat.

Right click on the shortcut you just created and click Properties. That causes it to start in the current directory. Click OK. On Windows 7, the shortcut icon will change to the cmd.

More Info: See Using the "start" command with parameters passed to the started program to better understand the empty double-quotes at the beginning of the first Target command.

Does anyone know how to force cmd. Another note, since I just dealt with it on XP at least : ensure the "Start in:" field is empty. Note that this won't work if the shortcut is set to run as an Administrator: stackoverflow. What if we want a shortcut to a data file? New challenge: I want a relative shortcut to a folder, but it should open in the same window. I guess that's impossible. Show 3 more comments. David d C e Freitas 7, 4 4 gold badges 55 55 silver badges 66 66 bronze badges. Bob Pollack Bob Pollack 4 4 silver badges 2 2 bronze badges.

Is there a way to get Explorer to browse to the relative path without opening a new window? Such elegant and simple solution! I'm having trouble in Adobe Bridge which likes to choose it's own working directory unrelated to the one you're working in. It does not work on windows It says target box is not valid — Millemila. Show 2 more comments. Basically, a shortcut could have a relative link, but Windows gives no way to actually make one.

Maybe, by mistake, you used the "mklink" command which is also explained on the Relative download page and created a hard link? That could explain what you are seeing. SqlRyan SqlRyan It looks like Microsoft has addressed this issue in one of the past updates. Please somebody confirm this. Mehrdad Mirreza Mehrdad Mirreza 9 9 silver badges 20 20 bronze badges.

George Green 4, 5 5 gold badges 28 28 silver badges 45 45 bronze badges. Charles P. Um, actually, that would run run. Does WIndows support. Visit our Microsoft Answers Feedback Forum and let us know what you think.

Was this reply helpful? Yes No. Sorry this didn't help. Thanks for your feedback. Hi All, I'm Linux user so I don't have enough experience to fix this issue. How I can create a shortcut with relative path? This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question



0コメント

  • 1000 / 1000