This shows you the differences between two versions of the page.
— | howto:create_a_windows_shortcut_for_doomsday [2012-11-01 17:54] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This is a tutorial for making a custom Windows shortcut for Doomsday, courtesy of [[http:// | ||
+ | |||
+ | - Open the Doomsday Frontend, press //Alt+C// to get the command line (" | ||
+ | - Paste everything in a text editor (e.g., Notepad 2) and join all lines (select all & // | ||
+ | - Create a **.bat** file in the Doomsday folder, with the following commands (paths are examples):< | ||
+ | - Save the file. | ||
+ | - Create in the same dir a **.js** (Javascript) file with the commands (replace " | ||
+ | var WindowStyle_Hidden = 0 | ||
+ | var objShell = WScript.CreateObject(" | ||
+ | var result = objShell.Run(" | ||
+ | |||
+ | This will suffice, you'll maybe want to create a shortcut to the **.js** file and have a custom icon. | ||
+ | |||
+ | You can actually skip the js passage, but when you launch the **.bat** file directly a command prompt window will stay on the background, the js will make it hide. | ||
+ | |||
+ | |||