>>>I want to run a .vbs file from within a Fox prg. The RUN /N command will not run my vbscript file. I tried calling the .vbs from a batch file and that doesn't seem to work. Any ideas?
>>
>>Try
RUN /n cscript myscript.vbs
>
>Sergey,
>
>Better would be to use wscript instead. The cscript executable is for running scripts from console, rather than Windows.
Ok, you got my attention. :) Can you explain why it's better?
BTW, I think it's better to run it thru WSH object as you suggested in the other post.
--sb--