Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File comparison

Status
Not open for further replies.

HT999

Technical User
Joined
Aug 21, 2000
Messages
4
Location
AU
Hi,

How do I do a comparison of the content of 2 text files in VBscript. Like the FC command

Regards,
HT
 
create a filesystem object, then open two files as text streams, then using the readline method, get each line and compare them, or if you wanted to compare character by character, i think the read method allows you to pass as a parameter the number of characters you want to read
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top