I have a brand new windows 2008 server (64 bit), and the remote deployment scripts using nant and psExec are not behaving like they do on the old servers.
psExec \\newserver.myco.com cmd
This successfully runs Nant:
psexec \\newserver.myco.com "C:\Program Files (x86)\Nant\Nant.exe"
Ok, it doesn't do anything meaningful with nant, but it shows that nant.exe does in fact run.
But this does not run:
psexec \\newserver.myco.com Nant or
psexec \\newserver.myco.com Nant.exe or
psexec \\newserver.myco.com "Nant.exe"
PsExec could not start Nant.exe on newserver.myco.com : The system cannot find the file specified.
this works fine on the other servers, which run Server 2003, also 64 bit.
I can verify that Nant is on the path on newServer:
C:\>path PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;"C:\Program Files (x86)\nant"
And if I type "nant" in a command window on that machine, I get nant's output.
The path and nant is present and correct even if I get in via
What's up with the path over psexec on 2008?