Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find files owned by a certain user

Status
Not open for further replies.

geeksquad

ISP
Dec 13, 2006
13
0
0
CA
Hi guys

Is there a way to find/copy/delete all the files owned by a certain user ?
Tipical scenarios : user leaves the company , files need to be deleated.

Cheers
Krik
 
There are some utilities such as diskuse that you can use to list out the files owned by a user. I believe it was in a resource kit.

Dave
 
DIR /Q shows the owner of each file. Pipe it into FIND and then write that output to a file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top