General discussion

Locked

Is there a way to search by file owner ?

By fun_to_know ·
I would like to run a search on my shared file server by file "owner" who is exceeding his disk quota. Is there an easy way to run a script to do that in Windows ?

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by oliver_ricken In reply to Is there a way to search ...

A quick way to determine the owner of a file is to open a CMD prompt and type dir /q <Drive:>\Folder\FileName.Extension.

When you issue a DIR command in a CMD prompt, the default behavior is to NOT show System and Hidden files.

To show everything, use the /A switch without any modifiers.

You can set the dircmd environment variable, to make /A the default.

I prefer using setting dircmd to /a /ogne, to also group directories first and sort by name and extension.

Collapse -

by fun_to_know In reply to

Poster rated this answer.

Collapse -

by fun_to_know In reply to Is there a way to search ...

This question was closed by the author

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums