Discussion Locked

Is there a way to search by file owner ?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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 ?

3 replies

by oliver_ricken

A quick way to determine the owner of a file is to open a CMD prompt and type dir /q \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.

This discussion is closed to new replies.