set fso=createobject("scripting.filesystemobject")
set file=fso.opentextfile("a.txt")
na=file.readall
file.close
set file=fso.opentextfile("b.txt")
nb=file.readall
file.close
sa=split(na,vbcrlf):la=ubound(sa)
sb=split(nb,vbcrlf):lb=ubound(sb)
if la<lb then
for i=0 to la
if sa(i)<>sb(i) then
sn=sn & sa(i) & vbcrlf & sb(i) & vbcrlf
end if
next
else
for i=0 to lb
if sa(i)<>sb(i) then
sn=sn & sa(i) & vbcrlf & sb(i) & vbcrlf
end if
next
end if
wscript.echo sn