Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    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 12:19 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts