CMDRUN

Version: 
1.3
Release date: 
Tuesday, 28 August, 2001

License:

Interface:

Authors/Port authors:

This program contains OS/2 WPS replacement WPFolder/WPDisk classes which give the ability to start command line sessions from any folder/disk with the current directory set to that folder/disk. It also gives a Run menu option similar to that found in Windows, allowing the starting of OS/2, DOS and Windows applications.

This software is distributed as compressed package. You have to download and manually install it; if prerequisites are required, you will have to manually install them too.

Manual installation

Program is distributed as ZIP package: download to temporary directory and unpack to destination folder. Run cmdrun.cmd i. See below for download link(s).

Following ones are the download links for manual installation:

Ver. 1.3 (28/8/2001) Readme/What's new
CMDRUN V1.3 by Paul Ratcliffe (c) Aug. 2001 This program contains OS/2 WPS replacement WPFolder/WPDisk classes which give the ability to start command line sessions from any folder/disk with the current directory set to that folder/disk. It also 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 classes: cmdrun i You must restart the Workplace Shell (usually by rebooting) before the replacement classes takes effect. DEINSTALLATION Change the current directory to where the files are installed and run the supplied REXX command file to deregister the classes: cmdrun u You can then delete the files CMDRUN.DLL, CMDRUN.CMD and CMDRUN.INI . You must restart the Workplace Shell (usually by rebooting) before the original classes takes effect. OPERATION Two menu options are added to the Pop-Up menu for every object descended from the WPFolder or WPDisk classes (e.g. Folders, Desktop, Drives). 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 or Run from Explorer). 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. For windowed VIO and windowed VDM programs, there is also an option not to close the window on exit. If 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. PMRUN An alternative method of invoking the Run dialog is to use the supplied utility progam PMRUN.EXE, which can be started from any session type, even DOS sessions, and does not rely on the Workplace Shell. This has several optional command line switches which allow you to select the type of session required and to specify the optional command name and arguments, without needing to interact with the dialog. The switches are: /F Start program in a full screen session. Default is Windowed. This implies a Separate session for Windows programs. /M Start program minimized. /P Start Windows programs in a Separate session. Default is to use a Common session. /S Start Windows programs in Standard mode. Default is Enhanced mode. /X Session remains open when program exits. Default is to close the session. The command name and arguments (if supplied) MUST appear after any of the above optional switches. HISTORY Version 1.3 28-8-01 Fixed a bug identifying the program type when arguments are used. Fixed problems with the OK/Cancel button not being the default button. Enhanced PMRUN to allow automatic starting of programs. Version 1.2 12-8-99 Fixed a fatal bug on Warp 4 starting Windows programs. Added a history list to the Run dialog. Added the option not to close on exit for windowed sessions. Added the PMRUN program. Version 1.1 3-2-99 Added the replacement class for WPDisk, giving Cmdrun functionality to Drives as well as Folders. 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 initially developed under Warp 3 (without Win-OS/2) and now is developed under Warp 4 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
 home.clara.net/orac/files/os2/cmdrun13.zip
Record updated last time on: 27/12/2017 - 09:09

GTranslate

English Dutch French German Korean Russian Swedish

Add new comment