StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | 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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gopikrish2000

34 Posts

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

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
2604 Posts

Posted - 03/14/2014 :  10:51:50  Show Profile  Visit Rob's Homepage  Reply with Quote
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  Reply with Quote
Thanks Rob , its working fine with bat file .
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000