Discussion Locked
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
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.
by funtoknow
Poster rated this answer.
by funtoknow
This question was closed by the author
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
1 helpful
16 replies
0 helpful
12 replies
0 helpful
3 replies
0 helpful
2 replies
Question
Is WSL still relevant in 2026?
0 helpful
1 reply