Sign in to follow this  
Followers 0
Docfxit

Syntax Error

4 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

you are missing the appropriate "" thingies.

RunWait("regedit /s " & @ScriptDir & "\TZupdate.reg")
RunWait("wscript " & @ScriptDir & "\TZrefreshTZinfo.vbs", @SystemDir)
Edited by tAKTelapis

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0