I tried searching for this and did run across a few answers that would work in Linux using Sodu but unfortunately I need the same option for Windows.
At the office, there is a Network folder that is used for special purposes and it contains about 200 subfolders with each of them containing a single file. I am trying to solve a riddle that would require knowing the owners of the single file stored in each subfolder. There are two possible owners for the files. The answer to that question might tell me if the reason for a recent problem what i think it is, or not.
What I need is a list showing each subfolder on the network drive along with the name of the owner(s) of the single file inside each subfolder. The single file in those folders has the same name so the list has to show the name of the each subfolder or I wont be able to tell them apart.
I was doing this manually and realized there had to be a better way
And I knew exactly where to look for an answer
Thanks for pointers
At the office, there is a Network folder that is used for special purposes and it contains about 200 subfolders with each of them containing a single file. I am trying to solve a riddle that would require knowing the owners of the single file stored in each subfolder. There are two possible owners for the files. The answer to that question might tell me if the reason for a recent problem what i think it is, or not.
What I need is a list showing each subfolder on the network drive along with the name of the owner(s) of the single file inside each subfolder. The single file in those folders has the same name so the list has to show the name of the each subfolder or I wont be able to tell them apart.
I was doing this manually and realized there had to be a better way
And I knew exactly where to look for an answer
Thanks for pointers





Your setup does work. For some reason, i cant seem to get it to progress through all folders before getting stuck. Probably due to the folders being on a network resource. If i can get it to go through each folder in the directory and add the one filename and its ower to the text file it would be perfect... I tried using tthis and it works as long as i am inside the folder that holds the file. But for some reason, when i start in the main directory and add the /s as .. (dir *.* /s/q >c:\lists\owner.txt ) so that it steps through all the subdirectories and puts the owners.txt into a local folder where I have write permission , it seems to get stuck. Using the /q switch does give the owner info i needed , Now if i can just get the command to iterate through all 200 subdirectories....