Jump to content

Regini & Regedt32 Command Line Parameters


Recommended Posts

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

  • Moderators

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?

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

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

  • Moderators

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.

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

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...