Minggu, 07 September 2008

Dialog box: Change start menu / directory menu

From windows Commande Help

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 seperator 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 Windows Commander's internal commands from the dropdown combobox. 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 iconic: Program will be started as an icon

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.
Note: %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 and %e)
%% 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.

Tidak ada komentar: