home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: WPS_PM / WPS_PM.zip / cmdrn101.zip / CMDRUN.DOC < prev    next >
Text File  |  1998-11-08  |  3KB  |  96 lines

  1.  
  2.                                CMDRUN V1.01
  3.  
  4.                                     by
  5.  
  6.                               Paul Ratcliffe
  7.                                (c) Nov. 1998
  8.  
  9.  
  10. This program is an OS/2 WPS replacement WPFolder class which gives the
  11. ability to start command line sessions from any folder with the current
  12. directory set to that folder, and gives a Run menu option similar to that
  13. found in Windows, allowing the starting of OS/2, DOS and Windows
  14. applications. The program is freeware and as such:
  15.  
  16.              USE OF THIS PROGRAM IS ENTIRELY AT YOUR OWN RISK.
  17.  
  18.  
  19. INSTALLATION
  20.  
  21. Unzip the archive contents into a directory which is on your LIBPATH.
  22. Change the current directory to where you unzipped the files and run the
  23. supplied REXX command file (obviously, this requires REXX support to be
  24. installed) to register the class:
  25.  
  26.     cmdrun i
  27.  
  28. You must restart the Workplace Shell (usually by rebooting) before the
  29. replacement class takes effect.
  30.  
  31.  
  32. DEINSTALLATION
  33.  
  34. Change the current directory to where the files are installed and run the
  35. supplied REXX command file to deregister the class:
  36.  
  37.     cmdrun u
  38.  
  39. You can then delete the files CMDRUN.DLL and CMDRUN.CMD .
  40. You must restart the Workplace Shell (usually by rebooting) before the
  41. original class takes effect.
  42.  
  43.  
  44. OPERATION
  45.  
  46. Two menu options are added to the Pop-Up menu for every object descended
  47. from the WPFolder class (e.g. Folders, Desktop).
  48. The first is Command Line which then conditionally cascades to a further
  49. menu where you can start one of OS/2 Window, OS/2 Full Screen, DOS Window or
  50. DOS Full Screen sessions. The current directory of the started session will
  51. be the same as that of the object from which it was started.
  52. e.g.
  53.   If you used the Desktop Templates folder then an OS/2 session would start in
  54.   d:\Desktop\Templates (where d: is your boot drive)
  55.  
  56. Note that DOS sessions cannot see directories with long filenames, so in
  57. the above example, the DOS session would be started in the root of your boot
  58. drive.
  59.  
  60. The second option is Run. This brings up a dialog box not dissimilar to that
  61. which Windows' users are familiar with (File/Run from Program Manager). You
  62. may start any PM, OS/2, DOS or Windows program by typing its name (along
  63. with any command line parameters) into the box or by using the Browse
  64. button to select a program.
  65. Programs may be started Full screen (except PM programs) and/or Minimized
  66. using the appropriate check boxes.
  67. When a Windows program in detected in the Command Line field, the Enhanced
  68. mode and Separate session check boxes are enabled. If neither of these is
  69. selected, then the program will run in a common Standard mode session.
  70. Additional settings used for Windows programs are those defined by the
  71. WIN-OS/2 Setup object in the System Setup folder.
  72.  
  73.  
  74. HISTORY
  75.  
  76. Version 1.01  9-11-98
  77.   Minor bug fixes in error handling.
  78.   Remove some strings from code to resources.
  79.  
  80. Version 1.0  17-9-98
  81.   Initial release.
  82.  
  83.  
  84. OTHER
  85.  
  86. This program was developed under Warp 3 (without Win-OS/2) using VisualAge
  87. C++ 3.0 for OS/2.
  88.  
  89. If you use this program could you please let me know. Also if you have any
  90. comments, criticisms, bug reports or anything that could be improved.
  91. I will reply to all messages received.
  92.  
  93. Paul Ratcliffe:    Internet: cmdrun@orac.clara.co.uk
  94.         Internet: paul.ratcliffe@bbc.co.uk
  95.         Netmail to 050/074 GT Power Network
  96.