Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to run a .vbs file from within a Fox prg
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00636047
Message ID:
00636161
Views:
25
>>>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform