I get Machine\User for dir /Q.my ($owner, $file) = ($line =~ /\\(\w+)\s+(.*)$/)[0,1];
do a "dir /Q" from command line and post result here and the regex can be tweaked and yes it can be frustrating.
In reply to Re^3: How to get filesystem ownerships
by Marshall
in thread How to get filesystem ownerships
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |