coucou Posted May 25, 2011 Share Posted May 25, 2011 Hi, I'm looking for how to run the following command with the macro @WindowsDir RunWait('RegEdit /S "C:\Windows\Setup\Scripts\MyProg.reg"') I tested the 2 following without success RunWait('RegEdit /S @WindowsDir & "\Setup\Scripts\MyProg.reg"') $RegDir = "\Setup\Scripts\MyProg.reg" RunWait('RegEdit /S "@WindowsDir & $RegDir"') Regards Link to comment Share on other sites More sharing options...
Developers Jos Posted May 25, 2011 Developers Share Posted May 25, 2011 RunWait('RegEdit /S "' & @WindowsDir & '\Setup\Scripts\MyProg.reg"') SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
coucou Posted May 25, 2011 Author Share Posted May 25, 2011 TNX Jos tested works 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