Hello,
Windows 7 - Looking for DOS batch file help.
I was hoping someone could help me out. Looking to get a list of directories that don't contain a certain 2nd level folder. If this folder is there I don't want the parent directory listed.
I was hoping for this to be inside a batch file that I could just execute and it gives me a "txt" file with the directory listing I want.
Example:
Photos.January.2002
>edited (2nd level folder is there, do not list)
Photos.February.2003
>edited (2nd level folder is there, do not list)
Photos.December.2004
> (no edited folder, please list this folder.
I would end up with a "txt" file that shows only Photos.December.2004.
I cant seem to figure out the "dir" and or "findstr" command to pull this data. I am able to get a directory list of the entire folder, I can use findstr to get a listing of the folders that have edited in them, but not the ones that don't.
Thanks for your help.