Re: Commandline params?

new topic     » goto parent     » topic index » view thread      » older message » newer message

------=_NextPart_000_0037_01C088D0.79EB1B00
	charset="iso-8859-1"

That one was too easy, I must be brain dead tonight (well, everynight. =
hehe)
I figured this one out just after I sent the last post.
You can replace the procedure RunTut (sent earlier) with this one
Change "comp.exe" to any other program you want to run (DOS or Win)
and on the commandline, you'll be able to run those programs
with any level command parameters it takes.

procedure RunTut()
sequence cmd, cmd2, cmd3
cmd =3D command_line()
cmd3 =3D {}

cmd2 =3D cmd[3..length(cmd)]
for x =3D 1 to length(cmd2) do
    cmd3 &=3D cmd2[x] & " "
end for

Jump_to(0,"comp.exe", "C:\\euphoria\\bmcrunch", cmd3, SW_HIDE )
--         .exe        Current path               Parameters             =
Show or Hide Window
end procedure

RunTut()

  euman at bellsouth.net


____________________________________________________________
T O P I C A  -- Learn More. Surf Less. 
Newsletters, Tips and Discussions on Topics You Choose.
http://www.topica.com/partner/tag01

------=_NextPart_000_0037_01C088D0.79EB1B00
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>That one was too easy, I must be brain =
dead tonight=20
(well, everynight. hehe)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I figured this one out just after I =
sent the last=20
post.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>You can replace the procedure RunTut =
(sent earlier)=20
with this one</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Change "comp.exe" to any other program =
you want to=20
run (DOS or Win)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and on the commandline, you'll be able =
to run those=20
programs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>with any level command parameters it=20
takes.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>procedure RunTut()<BR>sequence cmd, =
cmd2,=20
cmd3<BR>cmd =3D command_line()<BR>cmd3 =3D {}</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>cmd2 =3D cmd[3..length(cmd)]<BR>for =
x =3D 1 to=20
length(cmd2) do<BR>&nbsp;&nbsp;&nbsp; cmd3 &amp;=3D cmd2[x] &amp; " =
"<BR>end=20
for</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>Jump_to(0,"comp.exe", =
"C:\\euphoria\\bmcrunch",=20
cmd3, SW_HIDE )<BR>--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current=20
sp;&nbsp;&nbsp;=20
sp;&nbsp;=20
Show or Hide Window<BR>end procedure</DIV>
<DIV>&nbsp;</DIV>
<DIV>RunTut()<BR></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV><FONT face=3DArial size=3D2><A=20
  =
  <DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE>
T O P I C A  -- Learn More. Surf Less. 
Newsletters, Tips and Discussions on Topics You Choose.
<A
HREF=3D"http://www.topica.com/partner/tag01">http://www.topica.com/partner/tag01</A></PRE>

------=_NextPart_000_0037_01C088D0.79EB1B00--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu