Hey guys, im from LA.
Ive got a problem with some comp codes.. Im working on an IP-Checker for an online-multiplayer game..
The problem is that the comp line only compares the size of the two ".txt" files..
How to compare 2 files @ whats the info in both files?
This is whats in file 1:
And this is whats in file 2:
I need to have everything in it to be compared, for it to see the difference between both IP Addresses [192.168.1.33 - 192.168.1.36]
Only then my ip-checker works.. Ive searched all over google, i cant find what im lookin' for though..
this is a little part of what ive got:
It always seems to go to pass..
Could you please help me?
- Steven
Ive got a problem with some comp codes.. Im working on an IP-Checker for an online-multiplayer game..
The problem is that the comp line only compares the size of the two ".txt" files..
How to compare 2 files @ whats the info in both files?
This is whats in file 1:
Code:
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : lokaal
IP Address. . . . . . . . . . . . : 192.168.1.33
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
And this is whats in file 2:
Code:
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : lokaal
IP Address. . . . . . . . . . . . : 192.168.1.36
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
I need to have everything in it to be compared, for it to see the difference between both IP Addresses [192.168.1.33 - 192.168.1.36]
Only then my ip-checker works.. Ive searched all over google, i cant find what im lookin' for though..
this is a little part of what ive got:
Code:
ipconfig > C:\WINDOWS\Temp\ip.txt
comp C:\WINDOWS\Temp\ip.txt ipm.txt n
if not errorlevel 1 goto fail
goto pass
It always seems to go to pass..
Could you please help me?
- Steven