rnj Posted May 19, 2006 Share Posted May 19, 2006 Hi, In my script, I am trying to call regini.exe with parameters stored in reg.ini. I am trying the following with errors.. Any RunWait((@Comspec & " /c start " & "c:\Batch1\REGINI.EXE C:\Batch1\reg.ini") The regini.exe and reg.ini is stored in the Batch1 folder. Thanks. RnJ [font="Franklin Gothic Medium"]RnJ[/font][font="Franklin Gothic Medium"]Script: AutoIT v3.1.1.124 (beta)[/font][font="Franklin Gothic Medium"]OS: Windows XP/2000[/font] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 19, 2006 Moderators Share Posted May 19, 2006 Hi,In my script, I am trying to call regini.exe with parameters stored in reg.ini.I am trying the following with errors.. Any RunWait((@Comspec & " /c start " & "c:\Batch1\REGINI.EXE C:\Batch1\reg.ini")The regini.exe and reg.ini is stored in the Batch1 folder.Thanks.RnJCan you post the errors that SciTe is giving you? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
rnj Posted May 19, 2006 Author Share Posted May 19, 2006 C:\Documents and Settings\2.au3(22,77) : ERROR: syntax error RunWait((@Comspec & " /c start " & "c:\Batch1\REGINI.EXE C:\Batch1\reg.ini") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\2.au3 - 1 error(s), 0 warning(s) I am using Beta version. Cheers, [font="Franklin Gothic Medium"]RnJ[/font][font="Franklin Gothic Medium"]Script: AutoIT v3.1.1.124 (beta)[/font][font="Franklin Gothic Medium"]OS: Windows XP/2000[/font] Link to comment Share on other sites More sharing options...
Valuater Posted May 19, 2006 Share Posted May 19, 2006 (edited) first i notice theiRunWait((@ there are two ( (8) Edited May 19, 2006 by Valuater Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 19, 2006 Moderators Share Posted May 19, 2006 first i notice theiRunWait((@ there are two ( (8)I noticed that too, but thought I was going to hear the, no that's just how I wrote it here scenerio, but the Error message shows it's true. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
rnj Posted May 19, 2006 Author Share Posted May 19, 2006 Aaaaaaaaahhhhhhhhhhhhhh....... Thanks mate...I gotta get my eyes checked. [font="Franklin Gothic Medium"]RnJ[/font][font="Franklin Gothic Medium"]Script: AutoIT v3.1.1.124 (beta)[/font][font="Franklin Gothic Medium"]OS: Windows XP/2000[/font] Link to comment Share on other sites More sharing options...
Valuater Posted May 19, 2006 Share Posted May 19, 2006 I noticed that too, but thought I was going to hear the, no that's just how I wrote it here scenerio, but the Error message shows it's true.i really know what you meanI also suspect there is a spacing and '"' problem (quotes )8) Link to comment Share on other sites More sharing options...
rnj Posted May 19, 2006 Author Share Posted May 19, 2006 IT works fine..The extra ( was a problem...Thanks guys.. [font="Franklin Gothic Medium"]RnJ[/font][font="Franklin Gothic Medium"]Script: AutoIT v3.1.1.124 (beta)[/font][font="Franklin Gothic Medium"]OS: Windows XP/2000[/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now