[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Extension File Edit
This command is used to create and maintain the extension file,
which tells the Commander which application to run on a file.
When you press Enter on the file the application is invoked.
Your Extension File can be created from within Commander
or with a standard text editor.
Creating the Extension file with Commander
Select Extension file edit from the Commands menu to display
the current extension file. If no file exists a blank file is
displayed.
You can now Insert, Edit or Delete Associations.
F6 Insert
Press F6 or INS to display the Edit Association dialog
box. Enter an extension, and the command to execute
for this extension.
F4 Edit
Displays the Edit Association dialog box where you can
edit the currently highlighted association.
F8 Delete
Deletes the currently highlighted association.
F2 Save
Save the current Extension File to disk.
Creating the Extension File with an Editor
Each line in the file consists of an extension, and the
command to run on files with that extension:
+---- Extension
|
| +---- Insert file name and extension
. .
doc: word /c !.!
+---------+
Command
tells the Commander to run Microsoft Word when you press
Enter on a file that ends in .doc (such as "somename.doc").
+-------------- Enter
So for: | Name | ----. "word /c somename.doc"
|somename doc|
The table below lists all the ! arguments available to you:
Argument What Example
-------- --------------------------- ------------
!.! File name with the extension filename.ext
! File name, without extension filename
!: The current drive letter A:
!\ The current path \PATH
!! Insert the `!' character !
Notes: To execute more than one command, create a batch
file and execute the batch file as a command.
This file can contain a maximum of 30 extensions.
Use "*" to match any file without an extension.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson