home *** CD-ROM | disk | FTP | other *** search
/ PC Plus 34 / SHORTIES / GEMDOS.DOC < prev    next >
Encoding:
Text File  |  1989-01-01  |  2.3 KB  |  53 lines

  1.  
  2.  
  3.   GEMDOS.BAT  -  A user friendly DOS shell for GEM
  4.   ~~~~~~~~~~
  5.   The  GEM environment,  as in  the GEM  Desktop Version  2.0 given  with  the
  6.   AMSTRAD  PC1512, does  not provide easy means with which to type in commands
  7.   not covered by its own pull-down menus.  A notable omission is the inability
  8.   to  look  at  the  contents  of text files,  e.g. the DOS TYPE command,  and
  9.   others.
  10.  
  11.   To  cover for  the above  shortage there  is a DOS shell command, «ENTER DOS
  12.   COMMANDS»  in the  «OPTIONS» pull-down  menu. This  command, however, is not
  13.   user  friendly, since  it always  shells out into the root directory, C:\ in
  14.   my case.
  15.  
  16.   The  GEMDOS.BAT  file  serves to overcome the above limitations by providing
  17.   the following features:
  18.  
  19.   1.  Double clicking  on its  ICON in its specified directory  (A:\GEMAPPS in
  20.       the provided example) will cause a shell into the GEMAPPS directory.
  21.  
  22.   2.  Copying it  into any other directory (i.e. dragging with the mouse)  and
  23.       then double clicking on the new copy, will cause a shell into the chosen
  24.       directory.   The new copy of the GEMDOS.BAT  file will be  automatically
  25.       removed from the chosen directory.
  26.  
  27.   3.  In either  of the  above two cases, this DOS shell utility allows typing
  28.       in a  DOS command whilst still in the GEM environment.  This  command is
  29.       typed into  the GEM «ENTER PARAMETERS» window which appears  immediately
  30.       after double clicking on the ICON.  The command may be constructed of up
  31.       to 10 words (9 interleaving spaces), inclusive of all its usual switches
  32.       and parameters;  however, piping  and redirection symbols  " | < and > "
  33.       are not permitted.
  34.  
  35.       The TYPE  command, probably the most common use for this batch file,  is
  36.       treated  with  the  MORE  filter,  so  as  to  get  one  screen  full of
  37.       information at a time.
  38.  
  39.  
  40.   THE SPECIFIED DIRECTORY:
  41.   Since  the program  needs to  know which copy of GEMDOS.BAT  it is to delete
  42.   during  a shell  and which it is to keep, its default directory is specified
  43.   in line 5 of the file. It takes the form:
  44.  
  45.       A:\GEMAPPS\GEMDOS GemDoS %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
  46.       ~~~~~~~~~~
  47.   The underlined part of which may be edited to indicate the correct drive and
  48.   directory,  e.g.,  C:\GEMAPPS,  C:\BATCH,  etc.
  49.  
  50.  
  51.   M. Greenfield  28 February, 1989
  52.  
  53.