dann sag halt nein
Ich würde das mit einem batch machen der checkt ob du im netz bist oder nicht, zb mit:
Zitat:
ping -n 1 192.168.254.25 | find "Antwort" > nul | if %errorlevel% ==1 notepad.exe
|
in deinem fall also:
Zitat:
ping -n 1 192.168.254.25 | find "Antwort" > nul | if %errorlevel% ==1 goto :net else goto :nonet
:net
rundll32 printui usw.usw
:nonet
rundll32 printui usw.usw
|