Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to run a .vbs file from within a Fox prg
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00636047
Message ID:
00636161
Vues:
24
>>>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform