gcue Posted February 5, 2008 Share Posted February 5, 2008 can something like this be done? if regread hklm\blah exist do this endif i tried different variations and couldnt get it to work.. is there some type of errorlevel perhaps? Link to comment Share on other sites More sharing options...
weaponx Posted February 5, 2008 Share Posted February 5, 2008 can something like this be done?if regread hklm\blah exist do thisendifi tried different variations and couldnt get it to work.. is there some type of errorlevel perhaps?$result = RegRead()If NOT @ERROR....ThenEndIf Link to comment Share on other sites More sharing options...
Wicked667 Posted February 5, 2008 Share Posted February 5, 2008 Here a little part of code that checks for ini and if it doesn't excist it goes to the Then Global $account = IniRead(@ScriptDir & "\Startupv3.ini", "D2Config", "Account", "") If $account = "" Then So I assume you could do something like: $1=RegRead("","") If $1= "whatever you wanna read to confirm it's there" Then Hope it helps but I'm new to this 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