--- In [email protected], sgp <[EMAIL PROTECTED]> wrote:
>
> brucexs wrote:
> 
> > Look more closely at item 1, the command you asked PowerPro to 
run.  
> > What will the backslash do?
> 
> Of course, it was something obvious! I tried rewriting it with ?x 
syntax and it quickly got into a mess. It's 
> almost always easier to just call a script as the callback and do 
all the quoting there.
>

; cb function automatically evaluates and quotes argument, note @

local pgm=?"c:\windows\system32\cmd.exe"
local ret = file.runcallback(100,cb("@echo", pgm),"cmd.exe")
quit
Function echo(name)
messagebox("ok",name)


Reply via email to