I am trying to compile this:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_USERS\.DEFAULT\Control Panel\Colors\Background", "0 0 0", "REG_SZ"
Is this possible, it usually comes with an error with the "set" on the first line, or compiling and not working.
Is this possible at all with WSH being used, if so can someone let me know changes that would need to be made.
Thanks,
Roy.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_USERS\.DEFAULT\Control Panel\Colors\Background", "0 0 0", "REG_SZ"
Is this possible, it usually comes with an error with the "set" on the first line, or compiling and not working.
Is this possible at all with WSH being used, if so can someone let me know changes that would need to be made.
Thanks,
Roy.