Can someone help creating a batch file?
I need to find all occurrences of file "X.txt" where file "Y.txt" is found in the same folder as "X.txt".
So we will have "me.txt" in loads of folders, but some of those folders also have "you.txt" and I want to know the locations of all those folders that contain both, and we need to do this for all Hard drives (or at least all common local ones I guess, C, D, E, F).
It's cant be powershell as we need to run it on a range of OS versions from 2000 (oh yes), XP to 7 and 8. For this reason I think it needs to be DOS batch file rather than VBScript.
Olly
I need to find all occurrences of file "X.txt" where file "Y.txt" is found in the same folder as "X.txt".
So we will have "me.txt" in loads of folders, but some of those folders also have "you.txt" and I want to know the locations of all those folders that contain both, and we need to do this for all Hard drives (or at least all common local ones I guess, C, D, E, F).
It's cant be powershell as we need to run it on a range of OS versions from 2000 (oh yes), XP to 7 and 8. For this reason I think it needs to be DOS batch file rather than VBScript.
Olly