home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boink! 1995 May/June
/
Image.bin
/
df_
/
mailbox
/
terminat
/
0151ter2._xe
/
rar
/
UTILS.EXE
/
TERMINAT.EXT
< prev
next >
Wrap
Text File
|
1994-11-29
|
4KB
|
120 lines
%
% Extension edit file, max 100 entries
%
% This file is almost compatible with the Norton Commandor 3.0.
% If you have NC.EXT, simply copy it into TERMINAT.EXT and change
% all !.! -=> !F and ! to !D
% Blank lines and lines starting with % will be ignored.
%
% The idea of this system if that you should not waste time figuring out
% what program to call to view or use the files with a certain extension.
% Take as an example TERMINAT.DOC - a file ending in .DOC is almost always
% a file that you only want to view, not edit. Therefore you would normally
% call the viewer, called let's say LIST.COM, by pressing V inside the
% Filemanager. But if you have an extension in this file called DOC:
% that program will be called when pressing RETURN when that file is
% highlighted. An example would be the line
%
% DOC: LIST !F !M
%
% To use the new internal file viewer, use the following statement.
%
% DOC: @LIST !F
%
% and press RETURN on a .DOC file. LIST will be called up with the
% complete filename of the current file. The !F will be replaced with the
% filename of the current file. The !M tells Terminate to swap out memory
% first, if the program needs a lot of memory. When using the !W parameter,
% Terminate will wait for a key after the command has been executed.
%
% Wildcards in extension: You can use a '?' anywhere in the extensions.
% I.e.: ZI? will process all files called: ZIP,ZI1,ZIA,ZIX.
%
%
% Syntax:
%
%
% ┌─ Colon must be in position 4 of line
% │
% txt: edit !F
% ^ └──┬──┘
% │ └── DOS command
% └─ File extension
%
% !M Swap memory first
% !W Wait for a <return> after executing
% !F Name at current position, only in filemanager
% !F2 Name at current position, in the other window
% !D Directory path to current directory, without backslash
% !D2 Directory path to directory in the other window without backslash
% !E Call program without extra COMMAND.COM (COMSPEC), if you use this
% command you must give the full path and extension.
% !CD Change to the directory where the program is located before
% calling the program.
% Programs that can be executed directly. NEVER launch resident programs
% from inside other programs like Terminate (TSR's)!
BAT: !F !M
EXE: !F !M
COM: !F !M
% Archives, remember to put a !M in the end, if you are low on memory
ARC: pkunpak -v !F |More !W
AR?: arj v !F |More !W
LZ?: lha !F |More !W
LH?: lha !F |More !W
RA?: rar !F !M
ZI?: pkunzip -v !F |More !W
ZO?: zoo l !F |More !W
SQ?: sqz l !F |More !W
DW?: dwc l !F |More !W
% Music and pictures
GL : C:\GRASP\GRASPRT.EXE !F !M
FLI: C:\ANIM\AAPLAY.EXE !F !M
GIF: UTILS\T-GIF !F
BAK: DEL !F
MOD: c:\wow\wowii.exe !F /SB /I:7 /B:16384 !M
VOC: c:\voc\vocplay.exe !F !M
AP?: fax\faxshow.exe !F !M!E
% Programming
PAS: c:\bp8\bp.exe !F !M
H : q !F !M
C : q !F !M
% Mail files
PK?: utils\pktview.exe !F !M!E
?UT: utils\pktview.exe !F !M!E
PWD: utils\pktview.exe !F !M!E
QQQ: utils\pktview.exe !F !M!E
?LO: q !F!M
MO?: shez !F !M
TU?: shez !F !M
WE?: shez !F !M
TH?: shez !F !M
FR?: shez !F !M
SA?: shez !F !M
SU?: shez !F !M
QWK: C:\ROBOMAIL\ROBOMAIL.EXE !M !CD !E
0??: C:\ROBOMAIL\ROBOMAIL.EXE !M !CD !E
% Textfiles and other extensions
BBS: @LIST !D !W
TXT: q !F !M
ASC: @LIST !F !W
ANS: type !F !W!M
GBS: type !F !W!M
CTL: q !F !M
SND: q !F !M
LOG: @LIST !F !M
CFG: q !F !M
DOC: @LIST !F !M