Search inside a Text file and compare files in directories

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
osramos
Posts: 5
Joined: 27 Sep 2008 04:31

Search inside a Text file and compare files in directories

#1 Post by osramos » 27 Sep 2008 04:38

Hi,

i'm new in this forum and i need some assistance.

I have a text file where inside is 2 columns. One of Directories and another one with file. The goal is read the file and for each line do a "cd" for the directory and compare the name of the file within the TExt file with the one(s) inside the directory.

If there is files not equal to the ones i read from txt file, i shall move them.

Can anyone hel me ?

osramos

greenfinch
Posts: 36
Joined: 17 Jul 2008 07:37

#2 Post by greenfinch » 30 Sep 2008 11:00

Could you post a bit of the text file? It will be useful to see how the columns are separated.

Please post a bit within [ code ] tags

Post Reply