I would suggest reading through the FAQ, searching on these and other forums, and looking at the language reference on Microsoft's Technet (google "VBScript Language Reference and it should be the first result). If you have a more specific question, ask away. To get the best results, make sure you are as explicit as possible and include code snippets and any error messages you get.
This is the script I came up with, but when I run it nothing happens. Can someone please help.
Dim objShell, RegLoc
Set objShell = WScript.CreateObject("WScript.Shell")
On Error Resume Next
RegLoc = "[HKEY_Current_User\Control Panel\International]"
Since it looks like tsuji already fixed your problem, I'll chime in with a little bit more advice. When you have a script that runs but doesn't seem to do anything, your first error-checking step should be to comment out the line "On Error Resume Next" so that any error messages will kill the script execution and kick back an error to the shell or a message box (depending if you are running it with wscript or cscript).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.