Robocopy ohne Statusmeldungen ausführen
Ich führe im Kixstart Script einen aufruf von Robocopy aus.
Robocopy kopiert die Dateien und erstellt eine Logdatei.
Jedoch erscheint im KixStart Fenster jedesmal das die Log Datei erstellt wurde.
Ich möchte jeglicher Art von der Robocopy ausgabe unterbinden
shell "%logonserver%\netlogon\robocopy.exe \\$FileServer\Logos c:\Logos /E /NP /NJH /W:3 /Purge /v /LOG:c:\Kix_logos.log
dannach erscheint jedesmal der Eintrag im meinem Status Fester
Log File : c:\Kix_logos.log
Kann mir vielleicht jemand helfen ?
vielen Dank
dannach erscheint jedesmal der Eintrag im meinem Status Fester
Log File : c:\Kix_logos.log
Kann mir vielleicht jemand helfen ?
vielen Dank
Please also mark the comments that contributed to the solution of the article
Content-Key: 122697
Url: https://administrator.de/contentid/122697
Printed on: April 19, 2024 at 05:04 o'clock
3 Comments
Latest comment
Wenn du die Error-Ausgabe auch noch umleitest, sollte es gehen (ungetestet):
Mit
kannst du Error-Out auf auf den Std-Out-Stream umlenken.
Ist sinnvoll, wenn du mal Std- und Error-Ausgaben in eine Datei umlenken willst.
Gruß, Farbauti.
shell
"%logonserver%\netlogon\robocopy.exe \\$FileServer\Logos c:\Logos
/E /NP /NJH /W:3 /Purge /v /LOG:c:\Kix_logos.log >nul 2>nul"
Mit
2>&1
Ist sinnvoll, wenn du mal Std- und Error-Ausgaben in eine Datei umlenken willst.
Gruß, Farbauti.