Searching for a file owned by a user account

From ITS Wiki

Jump to: navigation, search

This will find files on Jupiter E: owned by the user student.bob and pipe that to the file called userlist.txt. If you leave of the pipe to a file it will display at the command prompt. Try to guess what folder might contain the files you’re looking for or it could take a long time to search the entire e: drive of Jupiter.

DIR e:\*.* /S /Q|FIND /i "student.bob" > c:\userlist.txt