home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR24 / 0141TER2.ZIP / 0141TER2._XE / UTILS.EXE / TERMINAT.EXT < prev    next >
Text File  |  1994-01-13  |  3KB  |  113 lines

  1. %
  2. % Extension edit file, max 100 entries
  3. %
  4. % This file is almost compatibel with Norton Commandor 3.0
  5. % If you have NC.EXT, then copy it into TERMINAT.EXT and change
  6. % all !.! -=> !F  and  ! to !D
  7. % Blank lines and lines starting with % will be ignored.
  8. %
  9. % The idea of this system if that you should not waste time figuring out
  10. % what program to call to see or use files with a certain extension.
  11. % Like a file called TERMINAT.DOC, a file ending in .DOC is almost always
  12. % a file that you only want to view, not edit. There you would normally
  13. % call the viewer, called lets say LIST.COM, by pressing V inside the
  14. % filemanager. But if you have an extension in this file called DOC:
  15. % that program will be called when pressing RETURN over that file.
  16. % If you have a line here like
  17. %
  18. % DOC:  LIST !F !M
  19. %
  20. % and you press RETURN on a .DOC file LIST will be called together with the
  21. % complete filename of the current file. The !F will be replaced with the
  22. % filename of the current file. The !M tells Terminate to swap out memory
  23. % first if the program needs a lot of memory. When using the !W parameter
  24. % Terminate will wait for a keypress after the command has been executed.
  25. %
  26. % Wildcards in extension: You can use a '?' anywhere in the extensions.
  27. % Like: ZI?  will process all files called: ZIP,ZI1,ZIA,ZIX.
  28. %
  29. %
  30. % Syntax:
  31. %
  32. %
  33. %    ┌─ Colon must be position 4 on line
  34. %    │
  35. % txt:  edit !F
  36. %  ^    └──┬──┘
  37. %  │       └── DOS command
  38. %  └─ File extension
  39. %
  40. %   !M  Swap memory first
  41. %   !W  Wait for return after
  42. %   !F  Name at current position, only in filemanager
  43. %   !F2 Name at current position, in the other window
  44. %   !D  Directory path to current directory, without backslash
  45. %   !D2 Directory path to directory in the other window without backslash
  46. %   !E  Call program without extra COMMAND.COM (COMSPEC), if you use this
  47. %       command you must give the full path and extension.
  48. %   !CD Change to directory where the program is located, before calling
  49. %       the program.
  50.  
  51. % Programs that can be executed directly. NEVER call resident programs
  52. % from inside other programs like Terminate (TSR's).
  53.  
  54. BAT:    !F !M
  55. EXE:    !F !M
  56. COM:    !F !M
  57.  
  58. % Archives, remember to put a !M in the end, if you are low on memory
  59.  
  60. ARC:    pkunpak -v !F |More !W
  61. AR?:    arj v !F |More !W
  62. LZ?:    lha !F |More !W
  63. LH?:    lha !F |More !W
  64. ZI?:    pkunzip -v !F |More !W
  65. ZO?:    zoo l !F |More !W
  66. SQ?:    sqz l !F |More !W
  67. DW?:    dwc l !F |More !W
  68.  
  69. % Music and pictures
  70.  
  71. GL :    C:\GRASP\GRASPRT.EXE !F !M
  72. FLI:    C:\ANIM\AAPLAY.EXE !F !M
  73. GIF:    CSHOW !F !M
  74. BAK:    DEL !F
  75. MOD:    c:\wow\wowii.exe !F /SB /I:7 /B:16384 !M
  76. VOC:    c:\voc\vocplay.exe !F !M
  77.  
  78. % Programming
  79.  
  80. PAS:    c:\bp8\bp.exe !F !M
  81. H  :    q !F !M
  82. C  :    q !F !M
  83.  
  84. % Mail files
  85.  
  86. PK?:    utils\pktview.exe !F !M!E
  87. ?UT:    utils\pktview.exe !F !M!E
  88. PWD:    utils\pktview.exe !F !M!E
  89. QQQ:    utils\pktview.exe !F !M!E
  90. ?LO:    q !F!M
  91. MO?:    shez !F !M
  92. TU?:    shez !F !M
  93. WE?:    shez !F !M
  94. TH?:    shez !F !M
  95. FR?:    shez !F !M
  96. SA?:    shez !F !M
  97. SU?:    shez !F !M
  98. QWK:    C:\ROBOMAIL\ROBOMAIL.EXE !M !CD !E
  99. 0??:    C:\ROBOMAIL\ROBOMAIL.EXE !M !CD !E
  100.  
  101. % Textfiles and other extensions
  102.  
  103. BBS:    BLA !D !W
  104. TXT:    q !F !M
  105. ASC:    type !F !W
  106. ANS:    type !F !W!M
  107. GBS:    type !F !W!M
  108. CTL:    q !F !M
  109. LOG:    list !F !M
  110. CFG:    q !F !M
  111. DOC:    list !F !M
  112.  
  113.