Hallo Zusammen
Hab noch ne frage, bekomms einfach nicht gebacken. Ich möchte in Autoit v3 ein Dos-Programm starten, z.B.
_RunDOS ("net time \\server /set /yes")
oder mit
Run("net time \\server /set /yes")
geht ja, nur würde ich gerne eine meldung bekommen, wenn des Dos-Prog einen Fehler bringt, ähnlich wie in einer Bat-Datei mit,
net time \\server /set /yes
if not errorlevel 2 goto ...........
.........
msg * test ok
Ich komm einfach nicht dahinter, wie man sowas anstellt. Meine Frage soll sich jetzt nicht unbedingt auf den "net" Befehl festlegen, denke das geht irgendwie mit fast jeden Programm. Hoffe es hat jemand einen Tipp für mich.
Grüsse
Karl