psexec and AGFA ConfigManager

Post Reply
Clive Andrews
Member
Posts: 85
Joined: Thu Jun 23, 2011 11:41 am

psexec and AGFA ConfigManager

Post by Clive Andrews »

Tough one here, I'm trying to launch AGFA's ConfigManager from our Switch machine with PSExec.



(bear with me)



So from a command prompt I'm sending:



C:psexec Xserver -u Username -p Password c:ConfigurationManager.exe -a P:ApogeeCustomer99999 /all



I'm getting "ConfigManager.exe eited on Xserver with error code 2"



Anyone know what "Error code 2" is...?



If I launch psexec to a command prompt with:



C:psexec Xserver -u Username -p Password cmd



then manually put c:ConfigurationManager.exe -a P:ApogeeCustomer99999 /all



...all is fine. So I'm guessing there's something in the full command line that ConfigManager doesn't like - do I need to enclose in quotes, am I missing a switch....?







It's a tough ask - but could be a major scripting breakthrough for me! If any of you have ideas I welcome your suggestions!







TIA
dkelly
TOP CONTRIBUTOR
Posts: 658
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

psexec and AGFA ConfigManager

Post by dkelly »

error code 2 is ERROR_FILE_NOT_FOUND
Clive Andrews
Member
Posts: 85
Joined: Thu Jun 23, 2011 11:41 am

psexec and AGFA ConfigManager

Post by Clive Andrews »

dkelly wrote: error code 2 is ERROR_FILE_NOT_FOUND


Excellent, just what I needed. I'll have a look at how the archives are mapped on client and slave!
Clive Andrews
Member
Posts: 85
Joined: Thu Jun 23, 2011 11:41 am

psexec and AGFA ConfigManager

Post by Clive Andrews »

Clive Andrews wrote: [quote=dkelly]error code 2 is ERROR_FILE_NOT_FOUND


Excellent, just what I needed. I'll have a look at how the archives are mapped on client and slave!




Hmmm, so I tried the UNC path, no good, nor the IP address...



Will have to read more on psexec, see if I can or need to put in a logon with the unc path....
Post Reply