M626
Programmer
- Mar 13, 2002
- 299
Hi,
I have a file(C:\temp\filelist_out.txt) that has a list of files. I need to compare the filelist_out to C:\temp and any file that isn't on the filelist_out that's in the dir, delete it from c:\temp.
Also, I need to take another file(C:\temp\filelist_in.txt) and do a compare to the same dir and if the file there is a file on the list that isn't in the dir, the copy it from C:\Archive and write that filename to C:\temp\filelist_out.txt.
I have a file(C:\temp\filelist_out.txt) that has a list of files. I need to compare the filelist_out to C:\temp and any file that isn't on the filelist_out that's in the dir, delete it from c:\temp.
Also, I need to take another file(C:\temp\filelist_in.txt) and do a compare to the same dir and if the file there is a file on the list that isn't in the dir, the copy it from C:\Archive and write that filename to C:\temp\filelist_out.txt.