SCOUG-HELP Mailing List Archives
Return to [ 03 |
December |
2006 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
On Sun, 3 Dec 2006 15:04:51 -0800, Bill Eaglet wrote:
>How can I invoke an OS/2 (non REXX) command file from within
>an OS/2 REXX command?
Use the OS/2 START command. For example:
/*Begin starting the TimeKeeper/2 clock and the Internet Connection Dialer, TCPDIAL.EXE*/
/*Begin starting the TimeKeeper/2 clock*/
CommandLine = 'START "Time Keeper" /PGM /PM "C:\UTILITIES\Time_Utilities\TIMEKEEPER!2\TIMEKEEP.EXE"'
INTERPRET "CommandLine"
CALL SysSleep 1 /*Wait 1 second until TimeKeeper/2 finishes opening*/
/*After 1 second the Internet Connection Dialer will have the focus*/
/*End starting the TimeKeeper/2 clock*/
I lifted the above from an old REXX script that I used to start Netscape Navigator with my dialup service. I wanted the "Timekeeper!2 utility program to run concurrently
with Netscape.
HCM
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 03 |
December |
2006 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|