Hi Bryan,

re:
Subject: [REBOL] newbie using rebol to call windows commandline
> I was just wondering if there are any basic examples(not using Rebol
> Command, I'm using Rebol View) of calling cmd.exe from rebol, and
following
> the process?

you can always use the browse trick:

browse "C:/winnt/system32/cmd.exe"

Depending on your security settings this will either auto-run (horribly
insecure) or prompt you whether to open, save, or cancel.

This same system can be used to run *.vbs scripts via the 'windows scripting
host' using Explorer as a pass-thru launcher (Explorer stays hidden).
/----------Example hello world vbs script-----------------
Set WSHShell = WScript.CreateObject("WScript.Shell")
wshshell.run "CMD.EXE"
WScript.Sleep 10
WshShell.SendKeys "Hello World"
...
/----------------------------------------------------------


Regards,

James

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to