#1
|
|||
|
|||
PSEXEC to run .Bat File
I am trying to run a batch file on a particular server, but it only works 1/3 of the time.
Here is what my VB step is: psexec %server_name% -u domain\username -p mypassword -i c:\WEB_inst.bat Here is the error I get 2/3 of the time: The process tried to write to a nonexistent pipe. Connecting to server_name..Starting PsExec service on server_name Connecting with PsExec service on Server_name Starting C:\WEB_inst.bat on Server_name.. C:\WEB_inst.bat exited on Server_name with error code 1. Process completed with exit code 1 The batch script that I run, places approximately 100 assemblies into the GAC. Here is the line that is used in the bat file, multilplied by 100: C:\gacutil -i C:\na33.2003\Infragistics.UltraChart.Core.v3.dll Do you know of an easier way to automate installing 100 assemblies into the gac? Why is my build only working 1/3 of the time, and getting "the process tried to write to a nonexisitent pipe" the rest of the time? Thank you! |
|
|