home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
startdos.zip
/
NOTEPAD.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-06-26
|
430b
|
22 lines
/* start notepad.exe in a common seamless vdm */
parse source . . szRexxFile .
select
when 'CMD' = address() then do
'pmsd' szRexxFile
if rc > 0 then do
say 'Problem finding/running pmsd.exe'
return 2
end
end
when 'STARTDOS' = address() then do
rc = startseamless( 18, "notepad.exe" )
end
otherwise do
say 'Unexpected environment.'
return 4
end
end
return 0