Search found 2 matches
- 06 Apr 2010 10:42
- Forum: DOS Batch Forum
- Topic: Find an IP address
- Replies: 4
- Views: 6035
Re: Find an IP address
Here's two methods. The second method does require a file containing Carriage Returns ("CR") only. @echo off :: This part pings each node reported by "net view". setlocal enabledelayedexpansion rem List net view nodes. echo. echo Listing net view nodes ... echo. for /f %%a in ('n...
- 04 Apr 2010 23:00
- Forum: DOS Batch Forum
- Topic: Monitoring system service
- Replies: 3
- Views: 5347
Re: Monitoring system service
Greetings!
Are you aware that fc sets the variable %ERRORLEVEL% to 0 if the files compare equal, which can be tested?
Are you aware that fc sets the variable %ERRORLEVEL% to 0 if the files compare equal, which can be tested?