mrmacadamia Posted July 11, 2009 Posted July 11, 2009 %SystemRoot%\system32\regsvr32.exe /s /n /i:"/InstallVS:'%SystemRoot%\resources\themes\Oblivious\Oblivious.msstyles','NormalColor','NormalSize'" %SystemRoot%\system32\themeui.dll this is the code that i want to run via autoit. It is too long to use it with Run and shellexecute. I tested different combination of " or ' and i give up. Currently i use controlsendtext to the start>run and click ok. thanks
Authenticity Posted July 11, 2009 Posted July 11, 2009 Opt('ExpandVarStrings', 1) Dim $sRun = '%SystemRoot%\system32\regsvr32.exe /s /n /i:"/InstallVS:''%SystemRoot%\resources\themes\Oblivious\Oblivious.msstyles'',''NormalColor'',''NormalSize''" %SystemRoot%\system32\themeui.dll' Run(@ComSpec & ' /c $sRun$', '', @SW_HIDE)
mrmacadamia Posted July 13, 2009 Author Posted July 13, 2009 Opt('ExpandVarStrings', 1) Dim $sRun = '%SystemRoot%\system32\regsvr32.exe /s /n /i:"/InstallVS:''%SystemRoot%\resources\themes\Oblivious\Oblivious.msstyles'',''NormalColor'',''NormalSize''" %SystemRoot%\system32\themeui.dll' Run(@ComSpec & ' /c $sRun$', '', @SW_HIDE) Authenticity, You are simply awesome. thank you so much.
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