6 Replies Latest reply on Mar 30, 2012 1:57 PM by Bill Robinson

    NSH script to call windows remote executable

    Russ Todd

      I have a script to query a system for the host name and then write the output to a file on a remote filesystem, this part works fine, however the next step is to process that file with a executable located on that remote filesystem. however, each time I call the executable I get either invalid path or  network path not found.


      can someone give guidnace on the correct syntax for the second line? the utility is normally executed fromt he windows command line.


      echo "`hostname`".domainname.com,Administrator,execute" >! //sj1gwm060/d/passworduploads/uploads.csv



      nexec -i -e cmd /c "echo . | cmd //sj1gwm060/d/passworduploads/PasswordUploadUtility/passwordupload.exe -conf.ini"