Solved

Cmd line util to find owner of a file?

Posted on 1997-07-06
5
628 Views
Last Modified: 2013-12-28
Is there a command-line (i.e. non-gui) way to find the owner of a file? (Non-POSIX, please.)
0
Comment
Question by:dmag
  • 3
  • 2
5 Comments
 
LVL 1

Author Comment

by:dmag
ID: 1779564
Edited text of question
0
 
LVL 5

Accepted Solution

by:
cer earned 50 total points
ID: 1779565
List open files over the network with:

     http://www.jsiinc.com/ofl.zip

PULIST from the resourckit list owner of running processes.

List ownership of a file:

ftp://ftp.winsite.com/pub/pc/winnt/miscutil/ls_nt17.zip
ftp://ftp.winsite.com/pub/pc/winnt/misc/ntfiles.zip

Why not ls from Posix ?

0
 
LVL 1

Author Comment

by:dmag
ID: 1779566
I have the POSIX subsystem disabled. I've never found a utility that didn't work better when compiled to win32.

I tried FILES.EXE (in ntfiles.zip) and it said: Error calling API CreateFile = 2

LS.EXE (in ls_nt17.zip) did indeed work. Thanks.

0
 
LVL 5

Expert Comment

by:cer
ID: 1779567
There is also a LS.EXE in the POSIX subdirectory from the resourcekit. I thought LS _is_ from posix.
0
 
LVL 1

Author Comment

by:dmag
ID: 1779568
Yes, there is a port of the UNIX ls that runs under the NT POSIX subsystem. I have disabled the POSIX subsystem, because it's silly.I was looking (and found) a version that was compiled for the win32 subsystem.
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Suggested Solutions

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now