in reply to comparing data btwn 2 files

C:\strawberry\perl\bin\*.txt

Using C:\strawberry\perl\bin\ to store input/output files is like using C:\Program Files or C:\WINDOWS for the same, bad idea all around.

You should use "My Documents" or another dedicated directory

That you're able to write to C:\strawberry... hints that you are logged in as an administrator, as a rule, you should do your daily work from a limited account (I'm assuming you're not using no-login setup)