Forum Discussion
ritesh_chauhan
11 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
- 6 years ago
- 9 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago