Autorun CD-ROM Menu - Special Commands
Special commands can be placed between the HREF tags in any of the project HTML files displayed by CDMenu.exe. The special command parts are separated by piping symbols (the vertical line typed by holding the shift key while pressing the backslash on your keyboard). Piping symbols can be omitted after the last used part. CDMenu.exe understands how to process these Special Commands.

 Part NameExample 1Example 2Example 3
Part 1Internal CommandcmdExeccmdSndcmdExit
Part 2Program to Runmyprog\myprog.exe  
Part 3Parameter youcan.wav 
Part 4Future Use   
Part 5Status Bar Hint Click to Play 

Examples Special commands with a piping symbol between each part
Example 1 cmdExec|myprog\myprog.exe
Example 2 cmdSnd||youcan.wav||Click to play
Example 3 cmdExit

Special commands with piping symbols are placed between the HREF tags on your HTML pages.
<A HREF=cmdExec|myprog\myprog.exe>Run my program</A>
<A HREF=cmdSnd||youcan.wav||Click to play>Play this sound</A>
<A HREF=cmdExit><IMG SRC="exit.jpg">Exit the program</A>

Both programs, WISCO CD Menu Builder and CDMenu (for your projects) also understand how to use some programs installed by Windows. Both programs understand how to find Window's special folders. Special folders include the System Folder {sysDir}, Program Folder {progDir}, and Windows Folder {winDir}. Using {path} allows the CDMenu program to find the program on the end-user's computer, provided the program is located in the end-user's path.

You can also start programs located in the users Windows, System, and Program Files folder, and load your file as a parameter. Longer sound and video files can use a command to start a player program with the sound or video file as the parameter. Examples:

<A HREF="cmdExec|{progDir}Windows Media Player\wmplayer.exe|myprog\sample.mpg||This link will start media player playing the sample.mpg file on the CD">Start Media Player.</A> This program was not included in Windows 98. It was included in Windows 2000 and Windows XP.

<A HREF="cmdExec|{progDir}Windows Media Player\mplayer2.exe|myprog\sample.mpg||This link will start media player even with Windows XP">Start Old Media Player Version 6.4.</A>

<A HREF="cmdExec|{winDir}Notepad.exe|||This button should start notepad">Start Notepad</A>

<A HREF="cmdExec|{winDir}Notepad.exe|mynotes.txt||This button should open a text file">Open a file with Notepad.</A>

Sometimes, Microsoft changes the location of a program with different operating systems. For example the Calculator program, calc.exe, is located in the system folder of Windows XP, but located in the windows folder in Windows 98.

<A HREF="cmdExec|{path}Calc.exe|||This button should start Windows Calculator">Start Windows Calculator</A>

 Simple ActionInternal CommandProgram NameParameter
1*Run A ProgramcmdExecRequiredOptional
2*Visit Web SitecmdWebSiteOptionalRequired
3*Show Help FilecmdHelpIgnoredOptional
4*Link to New PagecmdLinkIgnoredRequired
5Exit ProjectcmdExitIgnoredIgnored
6Open Start MenucmdOpenStartIgnoredIgnored
7Open Run ProgramcmdOpenRunIgnoredIgnored
8Show Project NotescmdProjectNotesIgnoredIgnored
9*Play SoundcmdSndIgnoredRequired
10Pick ScreensavercmdScrPickIgnoredIgnored
11Start ScreensavercmdScrStartIgnoredIgnored
12Pick WallpapercmdWallPickIgnoredIgnored
13Remove WallpapercmdWallNoneIgnoredIgnored
14*Set Wallpaper CenteredcmdWallCenterIgnoredRequired
15*Set Wallpaper StretchedcmdWallStretchIgnoredRequired
16*Set Wallpaper TiledcmdWallTileIgnoredRequired
17Set ModemcmdSetModemIgnoredIgnored
18Set MousecmdSetMouseIgnoredIgnored
19Set KeyboardcmdSetKeyboardIgnoredIgnored
20Set SoundscmdSetSoundsIgnoredIgnored
21Sound OffcmdSoundOffIgnoredIgnored
22Sound OncmdSoundOnIgnoredIgnored
23Sound TogglecmdSoundToggleIgnoredIgnored
24Set Time and DatecmdSetTimeDateIgnoredIgnored
25Set Time ZonecmdSetTimeZoneIgnoredIgnored
26Delete VariablescmdDeleteVarsIgnoredIgnored
27Display VersioncmdVerIgnoredIgnored
28*Log Off Current UsercmdWinLogOffIgnoredOptional
29*Reboot WindowscmdWinRebootIgnoredOptional
30*Registered FilecmdRegFileOptionalRequired
1*The program filename (and relative path) is required. An optional filename can be supplied that the program will open.
2*If the program is left blank, Windows will use your default browser. The http:// web site URL is required as a parameter.
3*If the parameter filename is left blank, the project filename is used if it exists.
4*The HTML filename (and relative path) is required.
9*The .wav filename is required as a parameter.
14*,15*,16*The .jpg or .bmp filename is required as a parameter.
28*The default message 'Are you sure you want to log out now?' can be changed to your text or foreign language.
29*The default message 'Are you sure you want to reboot Windows now?' can be changed to your text or language.
30Windows will start the program associated with the parameter filename extension.

© 2004-2005 WISCO Computing All Rights Reserved. Page Design by www.wiscocomputing.com
   <   
   >   
Browse