Dialog box: Change start menu
To move menu items to a different line, put the cursor bar on the desired entry, hold down the SHIFT key and move it using up and down arrow keys. You can also drag items using the mouse.
Field Meaning
Start menu: Shows the existing entries of the start menu. If you select an entry, the command line and parameters belonging to it are shown.
Add item... Creates a new entry in the start menu. Asks for a menu title first. A & sign causes the letter behind it to be underlined. Enter a single dash '-' to create a separator line.
Add submenu... Creates a new submenu. Asks for a menu title first. Submenus are shown with a dash in front of the name. The end of the submenu is shown with two dashes.
Delete Item Deletes the selected menu entry. Choose CANCEL to cancel all changes.
Change Title... Changes the title of the menu entry.
Command: In this box you may specify the program to be run, including its search path. You can also specify fixed parameters here. Important: You must give the extensions .com and .bat, because by default Windows only finds .exe!
You can also choose one of Total Commander's internal commands by clicking on the magnifying glass button. This opens the dialog box "Choose command". See 'change button bar' for all possible commands (except for changing the subbar).
>> Opens a dialog box to browse for the desired file name.
Start path: Determines the path to be set before the program is started. If no path is given, then the path of the source window is set.
Important: If the command (given in the command box) is cd drive:\directory, then the path given in this edit box is set in the other window! This allows to set both paths (source and target) at the same time.
Shortcut key: Here you can choose a shortcut key for the command.
run minimized: Program will be started as an icon.
maximized: Program will be started with maximized main window.
OK Saves the changes made to the file wincmd.ini in the Windows directory.
Cancel Closes the dialog box without saving.
Help Opens Windows Help with this page.
Parameters: Here you can specify command line parameters.
Special parameters:
? as the first parameter causes a Dialog box to be displayed before starting the program, containing the following parameters. You can change the parameters before starting the program. You can even prevent the program's execution.
%P causes the source path to be inserted into the command line, including a backslash (\) at the end.
%N places the filename under the cursor into the command line.
%T inserts the current target path. Especially useful for packers.
%M places the current filename in the target directory into the command line.
%O places the current filename without extension into the command line.
%E places the current extension (without leading period) into the command line.
%S insert the names of all selected files into the command line. Names containing spaces will be surrounded by double quotes. Please note the maximum command line length of 32767 characters.
%S10 insert the names of the first 10 selected files (max.) into the command line. Allows to limit the number of file names passed to the program. You can use any other number.
Notes: %N and %M insert the long name, while %n and %m insert the DOS alias name (8.3). %P and %T insert the long path name, and %p and %t the short path name. (Same for %o, %e and %s)
By putting %P, %p, %T or %t directly in front of %S or %s, the path name is inserted with the file name for each file. Example: %P%S inserts the long path and file name for all selected files.
%% inserts the percent-sign.
%L, %l, %F, %f, %D, %d create a list file in the TEMP directory with the names of the selected files and directories, and appends the name of the list file to the command line. The list is deleted automatically when the called program quits. 6 types of list files can be created:
%L Long file names including the complete path, e.g. c:\Program Files\Long name.exe
%l (lowercase L) Short file names including the complete path, e.g. C:\PROGRA~1\LONGNA~1.EXE
%F Long file names without path, e.g. Long name.exe
%f Short file names without path, e.g. LONGNA~1.EXE
%D Short file names including the complete path, but using the DOS character set for accents.
%d Short file names without path, but using the DOS character set for accents.