Question, kindly answer

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
renzlo
Posts: 116
Joined: 03 May 2011 19:06

Question, kindly answer

#1 Post by renzlo » 22 Nov 2011 16:52

Hi All,

What's your approach here?

I am processing thousand of files everyday and I want to make sure that I am processing a unique file, some sort of duplicate check. How do you do it in batch file?

-renzlo

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: Question, kindly answer

#2 Post by Ed Dyreen » 22 Nov 2011 17:33

'

Code: Select all

fc /? |more
compare /? |more

renzlo
Posts: 116
Joined: 03 May 2011 19:06

Re: Question, kindly answer

#3 Post by renzlo » 22 Nov 2011 18:08

yes i know that command Ed but it seems not reliable.

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: Question, kindly answer

#4 Post by Ed Dyreen » 22 Nov 2011 18:36

'
Did you try binary comparison ?

Code: Select all

fc /b

renzlo
Posts: 116
Joined: 03 May 2011 19:06

Re: Question, kindly answer

#5 Post by renzlo » 22 Nov 2011 19:04

Hi Ed,

Thank for the idea.

What goes on my mind is while I'm processing the files, my batch file will create a summary report of the files being processed and on the next process execution, It will first check the files to be processed on that summary report.

Post Reply