home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Windows Tools / SOS-WIN_TOOLS.ISO / programm / shell / comwin10 / comwin.txt < prev    next >
Encoding:
Text File  |  1994-02-23  |  18.6 KB  |  453 lines

  1.                            Night Owl Computing's
  2.                           Command Line for Windows
  3.                                 Version 1.0
  4.                      Copyright 1993. All rights reserved
  5.  
  6. Table of Contents
  7.  
  8. What is Command Line for Windows?. . . . . . . . . . . . . . . . . . . . .   2
  9.  
  10. Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
  11.  
  12. Invoking Command Line for Windows. . . . . . . . . . . . . . . . . . . . .   3
  13.  
  14. Additional Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
  15.      WKILL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
  16.      WREBOOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
  17.      WEXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  18.      WRESTART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  19.  
  20. Command Line internal command listing. . . . . . . . . . . . . . . . . . .   4
  21.      @ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  22.      @@. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  23.      @nn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  24.      ?:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  25.      > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  26.      -program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  27.      cd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  28.      cls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  29.      copy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
  30.      dat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  31.      del . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  32.      dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  33.      dirp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  34.      edit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  35.      erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  36.      exit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  37.      history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  38.      md/mkdir. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  39.      more. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
  40.      open. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  41.      path. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  42.      print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  43.      rd/rmdir. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  44.      set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  45.      set editor to . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  46.      set pat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  47.      tasklist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  48.      time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  49.      type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  50.      ver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  51.  
  52. Special Key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  53.      F3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  54.  
  55. Foreground and Background processing . . . . . . . . . . . . . . . . . . .   6
  56.  
  57. Accessing Windows Configuration. . . . . . . . . . . . . . . . . . . . . .   7
  58.      Editing Autoexec.bat, Config.sys, Win.ini, System.ini . . . . . . . .   7
  59.      Editing Your Desktop Configuration. . . . . . . . . . . . . . . . . .   7
  60.  
  61. Running DOS programs . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
  62.  
  63. The Future of Command Line for Windows . . . . . . . . . . . . . . . . . .   8
  64.  
  65. PRODUCT REGISTRATION FORM. . . . . . . . . . . . . . . . . . . . . . . . .   9
  66.  
  67.                                   .  .  .
  68.  
  69.  
  70. What is Command Line for Windows?
  71.  
  72.      Quite simply, Command Line for Windows is the natural replacement
  73. for the DOS command window so often used within a Windows session. 
  74. This replacement accomplishes a couple of things that a DOS window
  75. cannot perform and Windows does not necessarily consider standard.
  76.  
  77.      Command Line will allow the user to run/execute any DOS or
  78. Windows application.  Traditionally, a DOS window will only execute a
  79. DOS application. In order to start another DOS program, the user has
  80. to go through the whole process of opening the Program Manager and
  81. launch a new DOS window with either the RUN command (somewhat ironic)
  82. or the DOS icon.  Command Line eliminates this awkward restriction by
  83. executing each DOS program in a separate DOS window, similar to
  84. running a Windows application by selecting the icon.  (The use of a
  85. PIF file is highly recommended for any DOS application run from within
  86. Windows.)  This means that once a DOS application is launched, the
  87. user can immediately launch another through the Command Line window. 
  88. There are some third party utilities that will allow a Windows program
  89. to be called from the DOS window, but these have the annoying problem
  90. of locking the DOS window until the Windows program stops executing. 
  91. Command Line eliminates this problem because it is fully Windows
  92. compatible and can run any Windows application separately as a window
  93. or an icon.  These unique features gives Command Line a great
  94. advantage over a standard DOS window on the Windows platform.
  95.  
  96.      Command Line is the evolution of the familiar DOS interface that
  97. Windows has left behind.  Moving from DOS to Windows is a big jump for
  98. some users, and learning the new interface and the mouse can be very
  99. uncomfortable.  Command Line allows DOS users to comfortably
  100. manipulate the Windows desktop in a fashion that is very familiar and
  101. easily understood (i.e. intuitive), while still taking advantage of
  102. the Windows graphics and cooperative multi-tasking because most of the
  103. commands used in Command Line are similar to DOS's Command.com. 
  104. Furthermore, as most users find out while working in Windows, there
  105. are some functions that are best served by the mouse and some best
  106. served by the keyboard.  This utility allows the users to choose which
  107. means for manipulating the desktop they feel most comfortable using
  108. without sacrificing the control they are accustomed to having.
  109.  
  110.  
  111. Registration
  112.  
  113.      Night Owl Computing strongly urges you to register this product
  114. in order for you to be using a legal version.  With your support we
  115. will continue to improve this product, and produce more products so
  116. that you may work better and faster.
  117.      Registration cost are $19.95 for the first copy and $9.95 for
  118. each additional copy registered.  You will find a registration form at
  119. the end of this document.  Please make your checks payable to:
  120.  
  121.           Timothy J. Gallagher
  122.  
  123. and send them to:
  124.  
  125.           Night Owl Computing
  126.           P.O. Box 6424
  127.           Columbia, MD 21045
  128.  
  129.      We do not accept credit cards at this time; it helps to keep
  130. costs down. (credit card transations add 3-5% to the cost of
  131. software.)
  132.      You will receive confirmation of your registration in the mail.
  133.  
  134.  
  135. Invoking Command Line for Windows
  136.  
  137.      To invoke Command Line for Windows, copy it into the Windows
  138. directory and use the RUN command from Program manager.  You may also
  139. place an icon of Command Line for Windows in the Startup program group
  140. to allow Command Line for Windows to start when you start Windows.
  141.  
  142.  
  143. Additional Utilities
  144.  
  145. WKILL     This utility takes a window id as its only parameter and
  146.           will ask if you wish to kill the window.  If you answer
  147.           'Yes' then the window will be destroyed without effecting
  148.           any other window.  Refer to 'TASKLIST' below to get the
  149.           window id.  (WARNING: This utility will allow you to kill
  150.           any application, including applications that allow Windows
  151.           to operate.  Be careful.)
  152.  
  153. WREBOOT   This utility will reboot your computer.  It has its own icon
  154.           that can be used within the Program Manager just by clicking
  155.           on it.  It will ask for confirmation before proceeding.  If
  156.           you answer YES, then all the currently open windows will be
  157.           closed gracefully, Windows will shut down and the computer
  158.           will reboot.
  159.  
  160. WEXIT     This utility will exit windows.  It has its own icon that
  161.           can be used within the Program Manager just by clicking on
  162.           it.  It will ask for confirmation before proceeding.  
  163.  
  164. WRESTART  This utility will shut down Windows and then restart it just
  165.           as if you were starting Windows for the first time.  It has
  166.           its own icon that can be used within the Program Manager
  167.           just by clicking on it.  It will ask for confirmation before
  168.           proceeding.
  169.  
  170.  
  171. Command Line internal command listing
  172.  
  173.  
  174. @         Executes the last command entered.
  175.  
  176. @@        Displays a history of the last 24 commands executed.
  177.  
  178. @nn       Executes the command within the history buffer associated
  179.           with line number nn in the buffer.  The line number, nn,
  180.           must be in the range of 1 to 24.  If no command is at that
  181.           buffer location, nothing will happen.
  182.  
  183. ?:        Displays all available drives and the source of the drives. 
  184.           When connected to a network, it will display whether the
  185.           drive is local or remote.  If the drive is remote, the
  186.           redirected path name for the drive is displayed.
  187.  
  188. >         This is the redirection symbol found in most operating
  189.           systems' command line facility and, at this time, it works
  190.           only with the internal commands that display text to the
  191.           Command Line window.
  192.  
  193. -program  Placing a minus, '-', before a call to an external routine
  194.           will automatically minimized (iconify) the Command Line
  195.           window after successfully invoking the external routine. 
  196.           The external routine is maximized.
  197.  
  198. cd        Change the current directory.  Syntax:  cd <directory path>
  199.  
  200. cls       Clears the screen.
  201.  
  202. copy      Copies one file to another.  Wild card characters are
  203.           allowed in both the source name or the destination name. 
  204.           (Coping a file to a directory by just using the directory
  205.           name will require an ending '\').  Syntax:  copy <source>
  206.           <destination>  
  207.  
  208. date      Allows editing of the system time and date.  Same as
  209.           invoking the Windows Control Panel by typing CONTROL
  210.           DATE/TIME.  Syntax:  date
  211.  
  212. del       Deletes a file or a group of files based on wild card
  213.           characters.
  214.  
  215. dir       Displays a listing of the files in a directory plus the
  216.           file's size, last update date, last update time, attributes,
  217.           and an editing program associated with the file.
  218.           (Associations are set through File Manager ASSOCIATE
  219.           option.)  The attributes are as follows:
  220.  
  221.                     D    Directory
  222.                     A    Archive
  223.                     H    Hidden
  224.                     S    System
  225.                     R    Read only
  226.  
  227.           Options for 'dir' are:
  228.                /p   display a page at a time
  229.                /b   display only the file name
  230.                /w   display file names only and 4 wide across the
  231.                     screen
  232.                     
  233. dirp      Same as dir /p.
  234.  
  235. edit      Edits a file using the current editor for the system.  The
  236.           default editor is 'Notepad.exe'.  Refer to 'Set Editor To'
  237.           for changing the default editor.  Syntax: edit <filename>
  238.  
  239. erase     See 'del'.
  240.  
  241. exit      Exits Command Line for Windows.
  242.  
  243. history   Same as '@@'.
  244.  
  245. md/mkdir  Make a new directory.  Syntax: md <dir. name> 
  246.           or mkdir <dir. name>
  247.  
  248. more      Displays a screen full of text and then pauses to allow the
  249.           user to view the data.  This function will optionally start
  250.           at a specific line number (lines are 80 characters or less
  251.           with a Carriage return) and/or display only a specific
  252.           number of lines by using the /s and /c options,
  253.           respectively.  For example, "more junk.txt /s27 /c12" will
  254.           display the file "junk.txt" after skipping the first 27
  255.           lines and then will only display 12 lines from the file. 
  256.           Syntax: more <filename> [/s999] [/c999].  
  257.  
  258. open      Accesses a data file using the data file's associated
  259.           editing program.  File associations can be set through the
  260.           File Manager.  Syntax: open <filename>
  261.  
  262. path      Displays the current search path.
  263.  
  264. print     Prints a file using the associated editing application when
  265.           appropriate.  Syntax: print <filename>
  266.  
  267. rd/rmdir  Remove a directory.  Syntax: rd <dir. name> 
  268.           or rmdir <dir. name>
  269.  
  270. set       To set an environment variable.  Currently, all environment
  271.           variables set within this window will effect only this
  272.           window.  Syntax: set <include = c:\include>
  273.  
  274. set editor to  
  275.           Allows the user to change the default editor to any text
  276.           editor that can take a file name as a parameter.  There is
  277.           no check for the ability of the new editor to take a command
  278.           line option.  If the editor cannot take a file name as a
  279.           parameter, the editor will start but the data file will not
  280.           be loaded.  Syntax: set editor to <editor name>
  281.  
  282. set path  Sets the search path when an executable file is not found
  283.           within the current directory.  Syntax: set path to <path>
  284.  
  285. tasklist  This command will list all the tasks currently running in
  286.           Windows.  The listing will include the window id and a
  287.           window class name (used internally by Windows).  These
  288.           window task ids can be used with the utility WKILL.
  289.  
  290. time      Allows editing of the system time and date. Same as typing
  291.           'CONTROL DATE/TIME'
  292.  
  293. type      Same as 'more'.
  294.  
  295. ver       Displays the Command Line for Windows version banner.
  296.  
  297.  
  298.  
  299. Special Key
  300.  
  301. F3        Displays the last command processed.
  302.  
  303.  
  304. Foreground and Background processing
  305.  
  306. &         By placing an ampersand, '&', before the executable file
  307.           name, you can cause the application to start up as an icon
  308.           on the desktop.  The Command Line window remains maximized
  309.           and the currently active window.
  310.  
  311.  
  312. Accessing Windows Configuration
  313.  
  314. Editing Autoexec.bat, Config.sys, Win.ini, System.ini
  315.  
  316.      Windows comes with an editor for these files.  Command Line allow
  317. you to access this editor by typing:
  318.           sysedit <ENTER>
  319.  
  320. Editing Your Desktop Configuration
  321.  
  322.      Command Line also lets you may access the capabilities of the
  323. Control Panel to edit your Windows desktop by typing:
  324.  
  325.           control <ENTER>
  326.  
  327.      To edit a specific part of the control use
  328.  
  329.      for Fonts:  control fonts <ENTER>
  330.      for Color:  control color <ENTER>
  331.      for Date and Time: control date/time <ENTER>
  332.      for Mouse: control mouse <ENTER>
  333.      for Desktop: control desktop <ENTER>
  334.      for International: control international <ENTER>
  335.      for Keyboard: control keyboard <ENTER>
  336.      for Printers: control printers <ENTER>
  337.      for Drivers: control drivers <ENTER>
  338.      for Sound: control sound <ENTER>
  339.      for 386 Enhanced: control 386 enhanced <ENTER>
  340.  
  341. Command Line allows you to access the current list tasks by typing:
  342.  
  343.      taskman <ENTER>
  344.  
  345. You can then select to switch to another application.
  346.  
  347. Command Line allows you to easily edit a PIF file by typing:
  348.  
  349.      pifedit <filename>
  350.  
  351. PIF files are important to running DOS applications correctly within
  352. Windows.
  353.  
  354.  
  355. Running DOS programs
  356.  
  357.      You may run a DOS program as you would normally run it from the
  358. DOS command line.  It may be useful to edit the default PIF file so
  359. that the program's window does not close immediately when the program
  360. is done.  This can also allow the DOS program to run in a window
  361. automatically for machines that can run 386 Enhance Mode Windows.
  362.  
  363. Running Windows programs
  364.  
  365.      You may run a Windows program just as easily as you can run a DOS
  366. program from Command Line.  If the program is on the Windows search
  367. path, then you will not need to type the full path when running the
  368. Windows application.  Remember that most Windows applications accept
  369. command line parameters.  You can use this capability to open a data
  370. file when you run the application.
  371.  
  372. The Future of Command Line for Windows
  373.  
  374.      We feel that the success of Command Line is eminent, thus we will
  375. continue to enhance it.  The second quarter off 1994 will mark the
  376. first upgrade for Command Line for Windows and will include:
  377.  
  378.          An API library available for 3rd party programmers allowing
  379.           easy access to the Command Line capabilities as standard
  380.           input and output.
  381.  
  382.          Full redirection and filtering (piping) capability for DOS
  383.           and Command Line compatible Windows applications.
  384.  
  385.          Command aliasing to allow users to rename the commands or
  386.           produce other commands as a combination of commands.
  387.  
  388.          'History' will be manipulated with the arrow keys as well as
  389.           the '@' command.
  390.  
  391.          A larger scrolling window will be available.
  392.  
  393.          Cut, Copy, and Paste will be implemented for the window.
  394.  
  395.  
  396. Windows is a trademark of Microsoft Corporation.
  397. Command Line for Windows 
  398.                          PRODUCT REGISTRATION FORM 
  399.  
  400. Date:  Month ________  Day _____  Year ______
  401.  
  402. Your Name:  _________________________________ (required)
  403.  
  404. Company/Address:  _________________________________
  405.  
  406.                   _________________________________
  407.  
  408.                   _________________________________
  409.  
  410. Telephone Number:  ____________________  (include area/country code)
  411.  
  412. If you wish to receive the latest version on diskette please check the
  413. disk type you require and allow 4 weeks for shipping.
  414.  
  415.        Disk Media, check one:  [ ] 5.25"  [ ] 3.5"
  416.  
  417. Price Calculation   Registration Fee:  $19.95 + $9.95 for each
  418. additional registration.  Please list additional registrants below.
  419.  
  420.    Number of copies registering:  ___________
  421.          Registration Fee Total:  ___________
  422.  
  423. Make payable by check in U.S. currency drawn on a U.S. bank. 
  424.  
  425.           Timothy J. Gallagher
  426.           Night Owl Computing
  427.           P.O. Box 6424
  428.           Columbia, MD 21045
  429.           U.S.A.
  430.  
  431. Additional registrants 
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440. How did you receive your original copy of Command Line for Windows? 
  441. [ ] CompuServe  [ ] Friend   [ ] Other _______________________________
  442.  
  443. Comments (Please Be Honest)
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  Thank you!