1. If the target command does not contain any of : / \ or %, and does not exist in the current directory, do a %path% search for it. For example:
If there is not a notepad.exe in the current directory, search the path for it.
2. Add a fourth optional parameter uac. If uac begins with E, run the command elevated. If it begins with N, run the command unelevated. If uac is not present, do not set the...
Read more
Code:
shortcut notepad.exe "" "" "" "%@shfolder[16]\test1.lnk" 1
If there is not a notepad.exe in the current directory, search the path for it.
2. Add a fourth optional parameter uac. If uac begins with E, run the command elevated. If it begins with N, run the command unelevated. If uac is not present, do not set the...
Read more