| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Starting a DOS program.. |
In a message to William White Jonathan De Boyne Pollard
wrote:
JD> A much better solution would be to use 4OS2, the replacement command
JD> interpreter from JP Software (see the FIDONET 4DOS echo), and use the
JD> enhanced /DOS= switch to the START command.
JD> To encapsulate everything in one file (4OS2's START /DOS= command
JD> requires a second file to hold the settings), the best solution is to
JD> use REXX.
JD> Fortunately, the example code given for SysCreateObject (in the REXX
JD> reference in your Information folder) is just about all there is to
JD> running desktop icons. The only missing parts are that you need
JD> "Update" as the option, "OPEN=DEFAULT;"
prepended to the setup string,
JD> and SET statements for any non-default VDM settings. i.e.
JD> result = SysCreateObject("WPProgram",
JD> ,"A Virtual DOS Machine",
JD> ,",
JD> ,"OPEN=DEFAULT;PROGTYPE=VDM;",
JD> ||"SET DOS_AUTOEXEC=C:\MYAUTO.BAT",
JD> ,"Update")
JD> No, there aren't too many commas in the above. In REXX files, the
JD> comma is also the line continuation character.
If I read this right, using a REXX, I gather from the above you can
start a session from a predefined icon on your desktop ?? I figured there
must be a way to do it, but never quite figured it out. So far, I've been
using the 4OS/2 "start" command (works great), just think it would be a
bit slicker to use an already defined icon on the desktop, then you can
go in and alter settings, etc.
Catch you later, Mike (mjh{at}rvrsd.mmbbs.mn.org)
* WCE 1.5/2049 * God created women 'cause sheep can't cook
--- WILDMAIL!/WC v4.11a
* Origin: Fidonet: Riverside BBS, OS/2,WC!, 612-241-9963, (1:282/1008.0)SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1 @PATH: 282/1008 1 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 @PATH: 711/809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.