2 Replies Latest reply on Jan 15, 2014 4:30 AM by Javier Allende

    NSH problem with REG Query


      Good Morning

       

      I've problem with Reg Query Consult through nsh

       

      APPSSERVER% nexec HOST_DEST cmd /c 'reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer" /v Version'

      ERROR: Invalid syntax.

      Type "REG QUERY /?" for usage.

       

      But running the same command on the HOST_DEST the result is the following

       

      C:\Users\***************************>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer" /v Version

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer
          Version    REG_SZ    8.0.7601.17514

       

      Any advice?

       

      thanks in advance