Docfxit Posted February 25, 2007 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
tAKTelapis Posted February 25, 2007 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
Zedna Posted February 25, 2007 Posted February 25, 2007 Maybe RunWait('regedit /s "' & @ScriptDir & '\TZupdate.reg"') RunWait('wscript "' & @ScriptDir & '\TZrefreshTZinfo.vbs"', @SystemDir) Resources UDF ResourcesEx UDF AutoIt Forum Search
Docfxit Posted February 25, 2007 Author 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
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