Ownership

  • Thread starter Thread starter Ondrej Sevecek
  • Start date Start date
O

Ondrej Sevecek

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

Ondra.
 
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.
 
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.
 
Back
Top