PC Review


Reply
Thread Tools Rate Thread

Best Way to Report All Files Owned by One User

 
 
=?Utf-8?B?ZnVubnlicm9hZA==?=
Guest
Posts: n/a
 
      22nd Feb 2005
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?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Qm9iIERvcm4=?=
Guest
Posts: n/a
 
      22nd Feb 2005
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

"funnybroad" wrote:

> 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?

 
Reply With Quote
 
Jerold Schulman
Guest
Posts: n/a
 
      22nd Feb 2005
On Tue, 22 Feb 2005 00:09:02 -0800, "funnybroad" <(E-Mail Removed)> wrote:

>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?



See tip 9085 in the 'Tips & Tricks' at http://www.jsiinc.com
( http://www.jsiinc.com/SUBS/tip9000/rh9085.htm )



Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 
Reply With Quote
 
Michael Bednarek
Guest
Posts: n/a
 
      23rd Feb 2005
On Tue, 22 Feb 2005 07:13:04 -0800, "Bob Dorn" <(E-Mail Removed)>
wrote in microsoft.public.win2000.file_system:

>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).

>"funnybroad" wrote:
>
>> 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?


--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Event Procedure Owned vs Not Owned and by Month Hedwig14 Microsoft Access Form Coding 1 17th Jul 2009 01:21 AM
Creating a process owned by system not user herbert422 Microsoft C# .NET 2 31st Jan 2007 10:16 AM
Files owned =?Utf-8?B?Sm9obg==?= Microsoft Windows 2000 Active Directory 3 17th May 2005 12:53 PM
I cannot update a table owned by other user. Why? =?Utf-8?B?bWFuX2xlZTU1QGhvdG1haWwuY29t?= Microsoft Access Security 1 31st Aug 2004 02:18 PM
Quota & owned files Verrac Microsoft Windows 2000 File System 0 6th Oct 2003 10:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:58 AM.