Jump to content
Sign in to follow this  
Mecano

Batch file to Autoit script

Recommended Posts

Mecano

Hallo forum members

I have an question about extra command line options for running thinreg.exe

in an batch file it look like this:

thinreg.exe /noarp /norelaunch " i_view32.exe "

After searching and trying in this forum I came up with this:

Run(@ScriptDir & '\ThinReg.exe /noarp /norelaunch' & 'i_view32.exe')

No result after searching again I' ve tried this:

$vApp = "i_view32.exe"
Run('"' & @ScriptDir & 'ThinReg.exe /noarp /norelaunch' & $vApp & '"')

Result error msg

Think got to do with double-quotes single- quotes

Can help somebody me in right direction?

Regards, Mecano

Share this post


Link to post
Share on other sites
Generator

Maybe...

#include<Process.au3>
_RunDos('thinreg.exe /noarp /norelaunch " i_view32.exe "')

Share this post


Link to post
Share on other sites
Mecano

Maybe...

#include<Process.au3>
_RunDos('thinreg.exe /noarp /norelaunch " i_view32.exe "')
Thanks for repley

Nope, I get the same error: file does not exist................

Edited by Mecano

Share this post


Link to post
Share on other sites
Mecano

Solved space between quote and i_view322.exe

Run(@ScriptDir & '\thinreg.exe /noarp /norelaunch "i_view322.exe"')

But you put me to the right direction

Big thanks

regards,

Mecano

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  

×