Sign in to follow this  
Followers 0
rnj

Regini & Regedt32 Command Line Parameters

8 posts in this topic

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]

Share this post


Link to post
Share on other sites



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

Can you post the errors that SciTe is giving you?

[center]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.[/center]

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

first i notice thei

RunWait((@

there are two ( (

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

first i notice thei

RunWait((@

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.

[center]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.[/center]

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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 mean

I also suspect there is a spacing and '"' problem (quotes )

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0