home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: WPS_PM
/
WPS_PM.zip
/
cmdrn101.zip
/
CMDRUN.DOC
< prev
next >
Wrap
Text File
|
1998-11-08
|
3KB
|
96 lines
CMDRUN V1.01
by
Paul Ratcliffe
(c) Nov. 1998
This program is an OS/2 WPS replacement WPFolder class which gives the
ability to start command line sessions from any folder with the current
directory set to that folder, and gives a Run menu option similar to that
found in Windows, allowing the starting of OS/2, DOS and Windows
applications. The program is freeware and as such:
USE OF THIS PROGRAM IS ENTIRELY AT YOUR OWN RISK.
INSTALLATION
Unzip the archive contents into a directory which is on your LIBPATH.
Change the current directory to where you unzipped the files and run the
supplied REXX command file (obviously, this requires REXX support to be
installed) to register the class:
cmdrun i
You must restart the Workplace Shell (usually by rebooting) before the
replacement class takes effect.
DEINSTALLATION
Change the current directory to where the files are installed and run the
supplied REXX command file to deregister the class:
cmdrun u
You can then delete the files CMDRUN.DLL and CMDRUN.CMD .
You must restart the Workplace Shell (usually by rebooting) before the
original class takes effect.
OPERATION
Two menu options are added to the Pop-Up menu for every object descended
from the WPFolder class (e.g. Folders, Desktop).
The first is Command Line which then conditionally cascades to a further
menu where you can start one of OS/2 Window, OS/2 Full Screen, DOS Window or
DOS Full Screen sessions. The current directory of the started session will
be the same as that of the object from which it was started.
e.g.
If you used the Desktop Templates folder then an OS/2 session would start in
d:\Desktop\Templates (where d: is your boot drive)
Note that DOS sessions cannot see directories with long filenames, so in
the above example, the DOS session would be started in the root of your boot
drive.
The second option is Run. This brings up a dialog box not dissimilar to that
which Windows' users are familiar with (File/Run from Program Manager). You
may start any PM, OS/2, DOS or Windows program by typing its name (along
with any command line parameters) into the box or by using the Browse
button to select a program.
Programs may be started Full screen (except PM programs) and/or Minimized
using the appropriate check boxes.
When a Windows program in detected in the Command Line field, the Enhanced
mode and Separate session check boxes are enabled. If neither of these is
selected, then the program will run in a common Standard mode session.
Additional settings used for Windows programs are those defined by the
WIN-OS/2 Setup object in the System Setup folder.
HISTORY
Version 1.01 9-11-98
Minor bug fixes in error handling.
Remove some strings from code to resources.
Version 1.0 17-9-98
Initial release.
OTHER
This program was developed under Warp 3 (without Win-OS/2) using VisualAge
C++ 3.0 for OS/2.
If you use this program could you please let me know. Also if you have any
comments, criticisms, bug reports or anything that could be improved.
I will reply to all messages received.
Paul Ratcliffe: Internet: cmdrun@orac.clara.co.uk
Internet: paul.ratcliffe@bbc.co.uk
Netmail to 050/074 GT Power Network