I'm new to creating batch files. I'm trying to make a simple registry change. I want to create a batch file to summon the .reg file and have it run silently. How would I type the command to summon the .reg file? I tried the following script but didn't appear to work.
This is what I have in the .bat file:
regedit.exe /s http://coreservername/landesk/files/nicconet.reg
but when it runs the batch I get this message:
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
C:\Windows>regedit.exe /s http://coreservername/landesk/files/nicconet.reg
What am I missing in the script?
I have both the .bat file and .reg file in the same location