dir /q

D

djc

I want to put together a batch script that will output a list of all
directories/files (with path info) that a certian user owns. A list of 'what
and where'.

I would think something like dir /q /s | find /i "username" would work for
me fine, no need to even make it a batch file... however when I run dir /q
on my server the column where the owner should be displayed only shows 3
dots, like this: ...

Why is this? When I use dir /q on my own desktop it displays the owner just
fine? My desktop is windows 2000 sp4 and the server is windows 2000 server
sp4.

any info is greatly appreciated.Thanks.
 
M

Michael Bednarek

microsoft.public.win2000.cmdprompt.admin:

[snip]
I would think something like dir /q /s | find /i "username" would work for
me fine, no need to even make it a batch file... however when I run dir /q
on my server the column where the owner should be displayed only shows 3
dots, like this: ...

Why is this? When I use dir /q on my own desktop it displays the owner just
fine? My desktop is windows 2000 sp4 and the server is windows 2000 server
sp4.

A comparison of those findings (DIR /Q) with results from
Explorer/Properties/Security/Advanced/Owner would have revealed to you
that those dots represent an untranslatable SID, probably a former user.
 
D

djc

nope. The Gui lists owners just fine. Any other ideas?

Michael Bednarek said:
microsoft.public.win2000.cmdprompt.admin:

[snip]
I would think something like dir /q /s | find /i "username" would work for
me fine, no need to even make it a batch file... however when I run dir /q
on my server the column where the owner should be displayed only shows 3
dots, like this: ...

Why is this? When I use dir /q on my own desktop it displays the owner just
fine? My desktop is windows 2000 sp4 and the server is windows 2000 server
sp4.

A comparison of those findings (DIR /Q) with results from
Explorer/Properties/Security/Advanced/Owner would have revealed to you
that those dots represent an untranslatable SID, probably a former user.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top