Docfxit Posted February 25, 2007 Share Posted February 25, 2007 How can I fix this Syntax Error? ; This script will update XP with the new time zone information RunWait('regedit /s @ScriptDir & "\TZupdate.reg"') RunWait(wscript @ScriptDir & "\TZrefreshTZinfo.vbs", @SystemDir) Thank you, Docfxit Link to comment Share on other sites More sharing options...
tAKTelapis Posted February 25, 2007 Share Posted February 25, 2007 (edited) you are missing the appropriate "" thingies. RunWait("regedit /s " & @ScriptDir & "\TZupdate.reg") RunWait("wscript " & @ScriptDir & "\TZrefreshTZinfo.vbs", @SystemDir) Edited February 25, 2007 by tAKTelapis Link to comment Share on other sites More sharing options...
Zedna Posted February 25, 2007 Share Posted February 25, 2007 Maybe RunWait('regedit /s "' & @ScriptDir & '\TZupdate.reg"') RunWait('wscript "' & @ScriptDir & '\TZrefreshTZinfo.vbs"', @SystemDir) Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Docfxit Posted February 25, 2007 Author Share Posted February 25, 2007 Maybe RunWait('regedit /s "' & @ScriptDir & '\TZupdate.reg"') RunWait('wscript "' & @ScriptDir & '\TZrefreshTZinfo.vbs"', @SystemDir)That worked perfectly. Thank you very much. Docfxit 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