Hmmm think you meant.

 Code:
shell "regedit.exe \\server\path\file.reg /s"