Search found 1 match
- 28 Mar 2023 04:50
- Forum: DOS Batch Forum
- Topic: How to check if a wired connection is present in a batch file?
- Replies: 2
- Views: 3430
How to check if a wired connection is present in a batch file?
I'm running the following batch file when logging in: ::if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit :: See if NAS is connected locally Dir \\192.168.0.26\Docker\CheckFile.txt If %ErrorLevel% EQU 0 GoTo FileSpecifiedIsHere GoTo ItIsntHere Pause This line is ne...