Author |
Topic |
|
gopikrish2000
34 Posts |
Posted - 03/13/2014 : 16:24:25
|
I have some problem, i want to execute the following command . acShellExecute("open","cd C:\\gop\\Other\\SikuliScripts & java -jar C:\\setups\\Sikuli\\sikuli-ide.jar -r second","","",1)
The above statement is not giving any result . [ Expected result it should execute command script fine ] . The following exact command upon executing in cmd is working FINE . So what i'm missing?? acShellExecute is exactly same as cmd or not ?? Also can i run all the complex commands which i run in cmd here or not ??
Below basic statement is opening the explorer window fine. acShellExecute("open","C:\\gop\\Other\\SikuliScripts","","",1) |
|
Rob
USA
2615 Posts |
Posted - 03/14/2014 : 10:51:50
|
That is because you're trying to execute command which are executed inside of the command interpreter. The easiest solution is to create a .bat file with the commands and have S+ execute the bat file. |
|
|
gopikrish2000
34 Posts |
Posted - 03/15/2014 : 04:03:49
|
Thanks Rob , its working fine with bat file . |
|
|
|
Topic |
|
|
|