Re: How to compare files by Bob
Bob
Thu Nov 04 22:47:25 CST 2004
FC would work for me if (1) I can get it to compare the files without
displaying anything to the user, and (2) I can look at an exit status code
or something to figure out whether or not the files are identical.
I guess I could do (1) by redirecting the output to the bit bucket, but I
haven't tried to play around with it to figure out if I can do (2).
- Bob
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:uUyIuxtwEHA.3492@TK2MSFTNGP11.phx.gbl...
> Hi Bob,
>
> m.p.windows2000.cmdprompt.admin is a good batch file group.
>
> Perhaps you're looking for the FC command?
>
> Ray at work
>
> "Bob Altman" <rda@nospam.com> wrote in message
> news:espPlTtwEHA.3336@TK2MSFTNGP11.phx.gbl...
>> Hi all,
>>
>> I really wanted to post this to the NG dealing with batch files, but I
>> can't
>> remember the NG name. Can someone please reply with that group's name?
>>
>> Anyway... I'm looking for an easy way to determine whether or not two
>> files
>> are identical. I have a batch file that wants to do different things to
>> the
>> files based on this knowledge. I looked at FSO, but there doesn't seem
>> to
>> be anything helpful there.
>>
>> Any help would be greatly appreciated!
>>
>>
>
>