home *** CD-ROM | disk | FTP | other *** search
/ AMOS PD CD / amospdcd.iso / 551-575 / apd575 / docs / dos-shell.doc next >
Text File  |  1992-06-25  |  3KB  |  160 lines

  1.  
  2.  
  3.  
  4.                                 DOS-SHELL 
  5.                          v2.05 (First release!!!)
  6.                               BY MATT BURKE
  7.  
  8. -----------------------------------------------------------------------------
  9.           To be distributed on United Graphic Artists disks ONLY!
  10. -----------------------------------------------------------------------------
  11.  
  12. What it does
  13. ------------
  14.  
  15. This program should make life easier for anyone who uses the CLI, instead
  16. of storing all the CLI commands on disk they are storred in one simple
  17. program but if DOS-SHELL does not include the command/program you want it
  18. will try to load it from disk.
  19.  
  20. At the end of the file is a description of how to make a startup-file.
  21.  
  22. If you have any comments,ideas, or bug reports, send them to me at this
  23. address ...
  24.  
  25.                         33 Brookhouse Hill
  26.                              Fulwood
  27.                             Sheffield
  28.                              S10 3TB
  29.                              ENGLAND
  30.  
  31. Typing `help' at the $ prompt in the main program will bring up a list of
  32. commands, if they not listed here, then they don't work properly ...
  33.  
  34. copy,if,endif,echo,dir
  35. ----------------------
  36. Does the same as the AmigaDOS versions.
  37.  
  38. rm
  39. --
  40. Same as AmigaDOS delete.
  41.  
  42. mv
  43. --
  44. Same as AmigaDOS rename/move.
  45.  
  46. alias
  47. -----
  48. Say you have seka on the disk in df0: you could type ...
  49.  
  50. alias sk "df0:seka"
  51.  
  52. and then when you next wanted to load seka you could just type `sk' to load
  53. it.
  54.  
  55.  
  56. set
  57. ---
  58. Set can be used to set the function keys, prompt, and drive search path
  59. like this.
  60.  
  61. set F1 "dir df0"
  62.  
  63. sets up a function key to get a directory of df0:
  64.  
  65. set _prompt "DOS-SHELL 1.0 > "
  66.  
  67. changes the prompt form a $ sign to DOS SHELL 1.0 >
  68.  
  69. set _path df1:,df1:c,df0:libs
  70.  
  71. sets the default serach path to look in df1: df1:c and df0:libs.
  72.  
  73. cd
  74. --
  75. change the current directory, like this...
  76.  
  77. cd df1:c
  78.  
  79. changes directory to df1:c
  80.  
  81. devinfo
  82. -------
  83. prints the amount of space on a drive, type devinfo <drive>.
  84.  
  85. pwd
  86. ---
  87. present working directory- shows the current directory.
  88.  
  89. mem
  90. ---
  91. prints the amount of free memory.
  92.  
  93. history
  94. -------
  95. prints the last 10 typed in commands.
  96.  
  97. mkdir
  98. -----
  99. makes a new directory.
  100.  
  101. Run
  102. ---
  103. starts a new CLI process and runs a the program eg. RUN SEKA.
  104.  
  105. cat
  106. ---
  107. types a text file eg. cat SCROLLY.s (same as AmigaDOS TYPE command).
  108.  
  109. ps
  110. --
  111. Lists running tasks
  112.  
  113. date
  114. ----
  115. prints the system date
  116.  
  117.  
  118. ---------------------------------------------------------------------------
  119.  
  120.  
  121. Creating a script file ...
  122. --------------------------
  123.  
  124. If you want to define the function keys etc. so that they remain the same
  125. everytime you use DOS SHELL.  Get your favourite text editor and make a
  126. file called `.login'.  It should look something like this ...
  127.  
  128. # a hash sign denotes a comment
  129.  
  130. # first we set the f-keys
  131.  
  132. set F1 "whatever you want f1 to do!"
  133.  
  134. # do this for all the fkeys you want.
  135.  
  136. # no we set the prompt
  137.  
  138. set _prompt "1> "
  139.  
  140. # then we set the aliases for example
  141.  
  142. set * "dir df0"
  143.  
  144. # produces a directory of df0: every time you type `*'.
  145.  
  146. ver
  147.  
  148.  
  149. *END OF FILE*
  150.  
  151. next time you start the shell type DOS-SHELL <.login
  152.  
  153.  
  154. Signed,
  155.  
  156. Matt Burke.
  157.  
  158.  
  159.  
  160.