This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General Discussion
 General Discussion
 How to execute acShellExecute command for this
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gopikrish2000

34 Posts

Posted - 03/13/2014 :  16:24:25  Show Profile

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  Show Profile  Visit Rob's Homepage
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.
Go to Top of Page

gopikrish2000

34 Posts

Posted - 03/15/2014 :  04:03:49  Show Profile
Thanks Rob , its working fine with bat file .
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000