Forum Discussion
ritesh_chauhan
10 years agoContributor
Thanks a lot Helen!
It worked :)
Here is the code:
function Test()
{
aqFileSystem.SetCurrentFolder("C:\\");
Sys.OleObject("WScript.Shell").Run("C:\\Python27\\python.exe C:\\test.py");
Sys.OleObject("WScript.Shell").Run("cmd /c cd C:\\ && C:\\Python27\\python.exe C:\\test.py");
}
Regards,
Ritesh Chauhan
It worked :)
Here is the code:
function Test()
{
aqFileSystem.SetCurrentFolder("C:\\");
Sys.OleObject("WScript.Shell").Run("C:\\Python27\\python.exe C:\\test.py");
Sys.OleObject("WScript.Shell").Run("cmd /c cd C:\\ && C:\\Python27\\python.exe C:\\test.py");
}
Regards,
Ritesh Chauhan
Related Content
Recent Discussions
- 8 hours agodhundley