home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
shftrn.zip
/
ShiftRun.Doc
< prev
next >
Wrap
Text File
|
1994-11-01
|
6KB
|
130 lines
╔═══════════════════════════════════════════════════╗
║ ║
║ S H I F T R U N ║
║ ║
║ Version 1.5 ║
║ November, 1, 1994 ║
║ ║
║ Michael Harris - IBM Cary, NC. ║
║ ║
╚═══════════════════════════════════════════════════╝
OVERVIEW
---------------------------------------------------------------------
ShiftRun is a utility that enables a user to optionally start any
OS/2 Full Screen or Windowed program within the same OS/2 session.
"Optionally" means that the user can choose to start a program by
pressing and holding either SHIFT key before the specified timeout
expires. If he/she does not press the SHIFT key before the timeout
expires, ShiftRun will cancel itself and allow its calling process
to continue.
REQUIREMENTS
---------------------------------------------------------------------
ShiftRun requires OS/2 Version 2.0 or higher. ShiftRun will not
function properly if you are running the pre-installed version of
OS/2 2.0.1.
HISTORY
---------------------------------------------------------------------
Version 1.6 - November 1, 1994
Bug Fix: On some systems, ShiftRun would always behave
as if a shift key were pressed at each boot.
This behavior is most frequently seen on OS/2
Warp Version 3 (General Availability).
Added character echo (a *) when password is entered
Version 1.5 - July 26, 1994
Password protection added
Added beep option when counting down
Version 1.4 (Only released in beta form)
Version 1.3 - March 24, 1992
Added new interface and help screen
Version 1.2 - March 9, 1992
Internal beta test version
Version 1.1
Initial Release
USING SHIFTRUN IN CONFIG.SYS
---------------------------------------------------------------------
One of the most useful ways you can use this utility is to put it
in your CONFIG.SYS enabling you to start an OS/2 Full Screen
Command Prompt before Presentation Manager loads. When you do this,
you will be able to recover from many OS/2 problems without having
to boot from diskette.
You can:
- Edit your CONFIG.SYS file (requires a non-PM text editor)
(Note that CONFIG.SYS will have already been processed.
any changes to CONFIG.SYS will not take effect until
after the user reboots again.)
- Copy, rename, or delete any files that are not in use
- Install OS/2 patches
(Some patches may not install because the DLL's are in use.
In this case, you must boot from diskette.)
- Run most full screen programs
You cannot:
- Run CHKDSK /F to fixup the OS/2 partition of your harddisk
- Install OS/2 patches which modify files that are in use
- Run Presentation Manager programs
- Run Full-Screen programs which require multiple sessions.
(Such as OS/2 Lan Requester)
To add ShiftRun to your CONFIG.SYS, add the following line:
(This example assumes that SHIFTRUN.EXE is in D:\TOOLS.)
CALL=D:\TOOLS\SHIFTRUN.EXE Timeout Program [Parameters] [/b] [/p=MyPasswd]
Where: Timeout is the timeout in seconds
Program is the name of the program to run
Parameters (optional) are the program's parameters (If you
have more than one parameter, you need to put
all the parameters in one set of quotes.)
/b tells ShiftRun to beep every second
/p=passwd tells Shiftrun to require a password before
running the program. If the user does not
enter the correct password within three
tries, ShiftRun will exit and whatever
process was in progress (such as booting OS/2)
will continue. The password must not be
longer than 254 characters however, it is
unlikely that you can use a password that
long because the entire CALL= line in
CONFIG.SYS should be below 254 characters.
You can put the CALL= statement almost anywhere in CONFIG.SYS because
CALL= statements are not process until after all SET, LIBPATH, and
DEVICE have been processed. If, however, you have a problem with
ShiftRun, try moving the CALL= line to the beginning of CONFIG.SYS or
the bottom of CONFIG.SYS.
EXAMPLES
---------------------------------------------------------------------
ShiftRun 5 CMD.EXE /k /b
ShiftRun 2 CMD.EXE "/C FOO.CMD"
ShiftRun 5 CMD.EXE "/C FOO.CMD" /b
ShiftRun 5 T.EXE "" /b
ShiftRun 5 T.EXE C:\CONFIG.SYS
ShiftRun 5 T.EXE C:\CONFIG.SYS /b /p=MyPassword
NOTE: The /K in the first example is necessary to avoid the error:
SYS1034: The system cannot find the
command processor in the path specified.