Batch öffnet unerlaubterweise ordner?
meine batch datei öffnet auf meinem desktop den ordner "ping" obwohl der ordner nirgendwo erwähnt wurde, wieso?
set /p ip=IP Adres
:loop
goto timeout
echo %date% - %time% - Error [%IP%]
start %cd%\config\error.vbs
)
)
:timeout
timeout 6
goto loop
dann gibts da noch in der error.vbs eine msgbox:
MsgBox "keine Verbindung zum server, mehr informationen in den logdateien", vbCritical, "ping fehler"
set /p ip=IP Adres
:loop
"%cd%\logs\error.log" (ping -n 1 %IP% | find /c "TTL=" >nul && (
start %cd%\config\error.vbs
)
)
:timeout
timeout 6
goto loop
dann gibts da noch in der error.vbs eine msgbox:
MsgBox "keine Verbindung zum server, mehr informationen in den logdateien", vbCritical, "ping fehler"
Please also mark the comments that contributed to the solution of the article
Content-Key: 665963
Url: https://administrator.de/contentid/665963
Printed on: April 19, 2024 at 03:04 o'clock
1 Comment