as a network administrator. When we solve the DHCP failure of the Windows operating system, we sometimes find out which addresses in an address range are not used. I have previously introduced a method: open a command prompt window, call the ping command in the For...in...Do loop. For example, to find out which addresses are not used in the address range 192.168.1.1 to 192.168.1.100, you can use this command: For /L %f in (1,1,100) Do Ping.exe -n 2 192.168.1.% f
This command will report all IP addresses in the specified range. Whether it is used or not, the user has to look through a large amount of content in the command line window. In fact, we can avoid these troubles, just create a batch file, ask it to return only those unused IP addresses, and then enter the results of the command into a text file. The following describes the method:
Open Notepad, enter the following command in the window:
@Echo off
date /t > IPList.txt
time /t > > IPList.txt
echo =========== >> IPList.txt
For /L %%f in (1,1,100) Do Ping.exe -n 2 192.168 .1.%%f Find
"Request timed out." & echo 192.168.1.%%f Timed Out >>
IPList.txt & echo off
cls
Echo Finished!
@Echo on
Notepad.exe IPList.txt
Save this file as IPTracker.bat and close the Notepad program.
It should be noted that in this batch file, the entire For...In...Do command consists of several commands connected by "&&". The command starts with "For" and ends with "Off", and the entire command must be on one line. Of course, if the user wants to use this method, the user's own IP address needs to be used to replace the IP address in the example. (learning computer)
In the future, if the user wants to solve the DHCP problem, you can locate and double-click the IPTracker.bat file in the browser window, and then start an IP address tracking tool. This batch only finds those unused. IP address and save the result in a Notepad file. (In this case, this saved batch file becomes an IP address tracking tool, which can be created once and used repeatedly.)
Note: This method is only available for Windows XP Professional (Pro)
Microsofts latest operating system Windows XP will be officially released, it is said that Windows X
The Microsoft Windows XP operating system has impressed a large number of computer users wit
Windows system utilization mechanism of CPU In Windows system, each process is assigned a c
★ Close the error report Open the System Properties dialog box, switch to the Advanced tab,
System master XP latest application skills six strokes
Is this OK? Let WinXP fix the fault itself
Partition application of disk in XP (1)
Mobile phone and computer Bluetooth on the XP system
Streaming Media Application in Windows XP
Five important uses of Windows security mode (1)
Windows XP practical skills: smart screen plug-in installation window
Lost and recovered XP administrator password five methods
Vd virtual drive to install new radish home Ghost xp sp3 system
Windows system pseudo-optimization skills analysis and application
How to enable the Delete File Confirmation dialog box in Windows 8
Tips for Solving Windows 7 Network Latency Problem
Using the functions provided by Win7 to encrypt the U disk
Win7 due to RtkHDAud.sys file caused computer blue screen solution
Empty.exe small program that makes it easy to free memory
How to configure adb environment variable
How does WinXP enable or disable video preview to solve the problem that video can't be opened