![]() |
psexec
Moin,
evtl. kann mir hier einer mit seinen Erfahrungen helfen. Ich rufe die psexec mit folgenden Parametern (per AutoIT) auf:
Code:
und erhalte "-1" als Rückantwort. Weiß jemand was diese "-1" bedeutet?
$p = Runwait('psexec.exe -accepteula -n 30 -s \\' & $IP & ' -u USER -p "PASSWORT" -c c:\setup\software\dameware_update\Install_Agent.exe', @ScriptDir, @SW_Show)
|
AW: psexec
Wenn Du psexec in der Kommandozeile startest kommt als letzte Zeile:
Zitat:
|
AW: psexec
Das ist irgendwie doof, da die Applikation auch selber geschrieben ist über Autoit und als Rückgabewert "1" geben sollte.
Wenn die Applikation direkt auf dem Ziel PC ausgeführt wird klappt alles problemlos -.- |
AW: psexec
Problem gelöst...
"The specified application is not on the path." - Pfad angepasst und passt. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:34 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz