Page 1 of 1

"Do" command in Windows OS

Posted: Mon Jul 02, 2007 1:12 am
by churchken
Hi,

I'm trying to execute a Windows XP "batch" file from within a Rev script.

It appears there is no equivalent "do" command for windows OS. Is there a workaround that would make it possible to execute "c:/mybatch.bat" from within Rev?

Hope I'm not overlooking the obvious.

Thanks for any pointers.

Posted: Mon Jul 02, 2007 9:41 am
by BvG
try the shell() function.

thanks

Posted: Mon Jul 02, 2007 2:34 pm
by churchken
Bvg,

Thanks so much -- exactly what I was looking for.