I was hoping to have a batch file make shortcut.exe be able to recognize the directory of the executable, and create a fullpath to it, but that doesn't seem to be working.
This post has been edited by shapeless: 17 June 2006 - 09:47 PM
Posted 17 June 2006 - 09:44 PM
This post has been edited by shapeless: 17 June 2006 - 09:47 PM
Posted 07 May 2011 - 11:22 PM
Add Shortcut.rar (114.59K)
Posted 09 May 2011 - 02:09 AM
Create a shortcut to unpacked file. DestType is one character wide field, which can have the following values: D Create a shortcut on Desktop S Create a shortcut in Start Menu P Create a shortcut in Start Menu/Programs T Create a shortcut in Startup folder SrcName is a name of archived file. DestFolder is a folder to create a shortcut in. If it does not exist, it will be created by SFX archive. Description is a text string describing a shortcut. ShortcutName is a name of .lnk (shortcut) file created by SFX. ShortcutIcon is a name of icon file associated with shortcut. If you omit this parameter, the default icon will be used. If icon file name does not contain the full path, SFX archive will search the icon file in folder containing unpacked files. All parameters are separated by commas. If you need to put a comma character inside of parameter, enclose the whole parameter to quotes. Repeat quotes twice if you need to insert a quote mark into string. Only DestType and SrcName are required, other parameters are optional. Example Create a shortcut in folder WinRAR on Desktop to archived file winrar.exe with the description "WinRAR executable file", name "WinRAR archiver" and icon winrar.ico: Shortcut=D, winrar.exe, WinRAR, "WinRAR executable file", "WinRAR archiver", winrar.ico
This post has been edited by hessam: 09 May 2011 - 02:11 AM
Posted 07 October 2011 - 09:42 AM
Posted 25 November 2011 - 01:47 AM
Quote
Quote
Shortcut=D, "System\Run Game.exe", "", "Run Game in Win7", "Launch Game",
This post has been edited by TheKiller: 25 November 2011 - 01:47 AM
Posted 25 November 2011 - 10:33 PM
TheKiller, on 25 November 2011 - 01:47 AM, said:
Quote
Quote
Shortcut=D, "System\Run Game.exe", "", "Run Game in Win7", "Launch Game",
;The comment below contains SFX script commands Path=D:\Folder1\Folder2 SavePath Silent=1 Overwrite=1 Shortcut=D, "Run Game.exe", "", "Run Game in Win7", "Launch Game", ""
This post has been edited by Geej: 25 November 2011 - 10:35 PM
Posted 26 November 2011 - 07:18 AM
;The comment below contains SFX script commands
Path=%PROGRAMFILES%\Folder1\Folder2\
SavePath
Silent=1
Overwrite=1
Title=Unrealed Patch for Vista/7
Text
{
This will allow you to Run the Editor and the Game in Windows Vista/7.
}
Shortcut=D, "System\Run Game.exe", "", "Run Game in Win7", "Launch Game",
Shortcut=D, "System\Run Editor.exe", "", "Run Editor in Win7", "Launch Editor",
Shortcut=P, "System\Run Game.exe", "Unrealed Patch for Vista7", "Run Game in Win7", "Launch Game",
Shortcut=P, "System\Run Editor.exe", "Unrealed Patch for Vista7", "Run Editor in Win7", "Launch Editor",
Shortcut=P, "System\Uninstall Vista7 Patch.bat", "Unrealed Patch for Vista7", "Uninstall Vista7 Patch", "Uninstall Vista7 Patch",
This post has been edited by TheKiller: 26 November 2011 - 07:19 AM
Posted 26 November 2011 - 08:34 PM
Posted 15 January 2012 - 10:51 PM
TheKiller, on 25 November 2011 - 01:47 AM, said:
Quote
Quote
Shortcut=D, "System\Run Game.exe", "", "Run Game in Win7", "Launch Game",
D, your.exe, \, "Shortcut Description", "Shortcut name",
Posted 17 October 2012 - 12:07 PM
This post has been edited by michaelmross: 17 October 2012 - 12:08 PM