Using relative paths for Windows shortcuts

You can use this utility: Relative.

It basically creates a shortcut to "explorer.exe" with the parameter of your relative path with a right click (same way as you create a normal shortcut).

Of course you can do this manually.
In your example you would create a shortcut in "New Files\Tools" to

%windir%\explorer.exe "..\..\Tested Files\Tools"

You can use the usual context-menu "New/Create shortcut" of Windows for this and typing above command in "Type the location of the item"-box.


One possible solution is use a one line batch file instead of a short cut to open whatever you wanted to open. The batch file will let you use relative paths inside itself and will have a working directory of whatever folder the batch file is placed in.


Another option is have your shortcut start cmd.exe instead with whatever you are launching then pass whatever it is you are launching in as a argument to cmd.exe

enter image description here

%COMSPEC% is a environment variable points to the command prompt by default.

/C causes the console to close itself after it executes the command.


This trick works :

%COMSPEC% /C start "your exe name without path"

example

%COMSPEC% /C start winmine.exe