Best Way to Report All Files Owned by One User

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is the fastest, easiest way to produce a report of all files in a folder
(and subfolders) that are owned by one particular user?
 
just use a modified dir command for example

to find the owner of smith from the root of c:

dir /a /q /s |find /i "smith" > c:\smith.txt

this will find all the files/folders owned by user 'smith' and pipe it to a
file smith.txt
 
just use a modified dir command for example

to find the owner of smith from the root of c:

dir /a /q /s |find /i "smith" > c:\smith.txt

this will find all the files/folders owned by user 'smith' and pipe it to a
file smith.txt

.... and lose all path information in the process. It will of course also
show a file "CV of Kevin Smith.doc".

I'm afraid something more elaborate is called for. Jerold Schulman's
batch seems to be well suited (although excruciatingly slow).
 
Back
Top