im am trying to change the computers timezone using an HTA app.
i have a drop down list and when the user picks the location it runs a IF statement in a VBscript. when it gets executed there is an error that it can not find the location. im confused because it works in a CMD prompt if i cut and paste it.
can anyone please help
if user.Timezone.value = "Central Standard Time" then
set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "control.exe timedate.cpl,,/Z Central Time Zone"