in reply to How to find the file owner on win32

See Win32::Perms...
use Win32::Perms; my $file = new Win32::Perms($ARGV[0]); print $file->Owner;
It's worth checking Dave Roth's site for almost any Win32 related question. Also, check out his Win32 Administrator book if you get the chance.

Error: Keyboard not attached. Press F1 to continue.

Update: Albannach beat me to it. But there's nothing like repeating good advice! ;)