run VBS from TCL
Hello Forum!
I have been working on a project where it involves working of VBS as well as TCL. And before running the main logic in the TCL I want to run the VBS file from TCL using EXEC command but it was throwing some kind of error. I have a constraint of not using the batch file to run both the scripts individually.
When I did a search on the internet I found that CScript or Wscript should be helping but while working with this command, it was of no help.
Can someone share the approach of solving this issue.
thanks and regards,
Brahmadev.
Find more posts tagged with
Hello Tinh,
I just need to run a vbs script from tcl as we run notepad application from tcl
i tried with Cscript/Wscript but it was not working
Do you try to search with Google yet?
Try: http://code.activestate.com/lists/activetcl/2550/
Thank you Google!
Do you try to search with Google yet?
Yeah! That was my first step way before posting this question in the forum
This was the exact set of code I have tried in TCL but it was of no help.
So i was just wondering do I need to install any external packages !
Hello Forum!
I have been working on a project where it involves working of VBS as well as TCL. And before running the main logic in the TCL I want to run the VBS file from TCL using EXEC command but it was throwing some kind of error. I have a constraint of not using the batch file to run both the scripts individually.
When I did a search on the internet I found that CScript or Wscript should be helping but while working with this command, it was of no help.
Can someone share the approach of solving this issue.
thanks and regards,
Brahmadev.
Have you tried the following :
exec cmd.exe /k '<vbs file path>'
Pls show your script