Ownership

O

Ondrej Sevecek

Hello,
how to VIEW (not change) ownership of some file from command prompt??

Ondra.
 
G

Gurgen

There is a utility subinacl.exe in reskit. It may me used to check the file owner (from batch):

for /f "tokens=2 delims==" %%I in ('subinacl /file %windir%\notepad.exe ^|find "/owner"') do echo %%I


Gurgen.
 
R

Ritchie

Ondrej Sevecek said:
Hello,
how to VIEW (not change) ownership of some file from command prompt??

You might find the info you require using the DIR command with the /Q
switch. Enter DIR/? for more info.
 

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

Similar Threads


Top