Jump to content

robflop

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

About robflop

Profile Information

  • OS
    XP Pro x86

robflop's Achievements

0

Reputation

  1. Well, recognizing this thread's age, I'd suggest to do the following to obtain full relative links using standard shortcuts: 1. Make a new shortcut to: cmd.exe /c 2. Now open properties. You will find cmd.exe autocompleted with an absolute path to cmd.exe Delete the content of the "Start in:" field. 3. Append the full path in the "Target:" field with your own relative path and app, e.g. %windir%\system32\cmd.exe /c start your_relpath\app.exe [your_args] That's it. On some other URLs solutions of this kind are presented, too. However, doing so does not change the current working directory for the called program. If that is desired, then the modification should be as follows: 3. %windir%\system32\cmd.exe /c "cd your_relpath && start app.exe [your_args]" For an explanation of && simply enter cmd /? in a command window. Note 1: Putting anything like "%cd%\your_relpath\" in the "Start in:" field does nothing at all. Note 2: A short flash of a console window popping up as in batch files will occur. This can be avoided by setting Run: minimized. Note 3: An icon must still be referenced absolutely.
×
×
  • Create New...