Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: JS Import .reg file
12-21-2005, 11:16 AM #1
- Join Date
- Dec 2005
- Thanked 0 Times in 0 Posts
JS Import .reg file
I am having problems importing a .reg file via my .js logon script.
I believe the problem lies in that there is a space in the path of .reg i am importing, so I would usually put speech marks round it, but this creates problems in js.
This is the code i have:-
var shell = WScript.CreateObject("wscript.shell");
shell.run("REGEDIT /s \\\\servername\\Application Data\\Meeting Room\\Temp\\Wallpaper.reg")
Any help would be greatly appreciated.
Last edited by mjwigham; 12-21-2005 at 11:19 AM.