Making a Windows shortcut start relative to where the folder is? -
I have a game that uses this file structure:
Fader - & gt; Data - & gt; Data-> Run.bat
In the game folder, I want to put a shortcut on run.bat
, but if I take it, or someone else installs it This will not work, because the goal is wrong, what is the goal of creating and "starting" in comparison to the game folder?
Step 1:
Your / Right-click on the folder and click Create Shortcut .
On Windows 7, you will see the shortcut in current directory
.
On Windows XP you will find the shortcut for the bat
.
Step 2:
Right-click on the shortcut you just created and click Properties
Goal (Click
% windir% \ system32 \ Cmd.exe / c Start ""% c% \ bat \ bat \ run bat "
Right click on Windows 7, the shortcut icon will change to the cmd.exe icon. .bat is acceptable in the case of shortcuts, but if you want to change the icon, then the shore Reopen the properties of the cart and click Change icon ... (Then, the shortcut 7> tab on Windows 7) at this point you browse .. . for the icon or by entering a list of default system icons
% SystemRoot% \ system32 \ SHELL32.dll
to < Press the code> Browse ... on the left side of the button and press . It works on Windows 7 and Windows XP, but the icons are different due to style updates (but They recognize Are qualified). Shortcut is kept based on the version of Windows, the icon changes in the same way as .
More information:
Better look first at the beginning of the target command in the empty double quotes.
Comments
Post a Comment