Reg add command: Can someone tell me what's wrong with this please?
Simple thing. I'm trying to run the following command to add a new registry key:
REG ADD HKEY_CURRENT_USER\Software\Location /v ValueName /t REG_DWORD /d "\\server\serverpath" /f
So I'm basically trying to add a REG_DWORD value with the data string of a server path.
Anyway, everytime I get the error: "Too many command line parameters"
but as far as I can see it conforms completely with the command format.
Can anyone see where I might be going wrong, because I can't?