mrmacadamia Posted July 11, 2009 Share 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 Link to comment Share on other sites More sharing options...
Authenticity Posted July 11, 2009 Share 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) Link to comment Share on other sites More sharing options...
mrmacadamia Posted July 13, 2009 Author Share 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. 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