1 2 Previous Next 26 Replies Latest reply on May 21, 2008 2:53 AM by phoffmann

    "'sdclient.exe' is not recognized as an internal or external command"

    Apprentice

      Hi all

       

      I have been using the command sdclient.exe /msg="message" to good effect in many batch file distribution packages.  However, on several machines I am getting 'sdclient.exe' is not recognized as an internal or external command in the logfile (see attached) when I execute the following package:-

       

       

       

       

       

      -


      REG QUERY HKEY_CURRENT_USER\Software\Interwoven\WorkSite\8.0\Common\Login\RegisteredServers\GLA-IMAN1

      ECHO %ERRORLEVEL%

      IF %ERRORLEVEL%==1 GOTO NotRegistered

      REG DELETE HKEY_CURRENT_USER\Software\Interwoven\WorkSite\8.0\Common\Login\RegisteredServers\GLA-IMAN1 /F

      REGEDIT /S GLADMS01.reg

      sdclient.exe /msg="GLA-IMAN1 deleted and GLADMS01 registered."

      EXIT /B 0

       

      :NotRegistered

      sdclient.exe /msg="GLA-IMAN1 not registered."

      EXIT /B 0

       

      :end-----

       

       

      Even when I update the package with the absolute path "C:\Program Files\LANDesk\LDClient\sdclient.exe", although there are no errors in the logfile this time, the message field in the Scheduled Task is still not updated.

       

       

       

      Any ideas where I am going wrong please?

       

      Thanks

      Scott

       

      LDMS 8.5 SP2

        1 2 Previous Next