<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How Can I Determine the Owner of a File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/07/how-can-i-determine-the-owner-of-a-file.aspx</link><description>Hey, Scripting Guy! Is there a way to determine the owner of a file by using a script? -- BD 
 Hey, BD. As a matter of fact there is a way to use a script to determine the owner of the file, though it’s understandable why you might not be able to find</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I Determine the Owner of a File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/07/how-can-i-determine-the-owner-of-a-file.aspx#3551839</link><pubDate>Tue, 12 Feb 2013 03:44:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3551839</guid><dc:creator>D'oh!</dc:creator><description>&lt;p&gt;Of course this does not work on a Novell network, where the User is always reported to be &amp;quot;Everyone&amp;quot;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3551839" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine the Owner of a File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/07/how-can-i-determine-the-owner-of-a-file.aspx#3448699</link><pubDate>Tue, 23 Aug 2011 19:54:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3448699</guid><dc:creator>Rick Gregson</dc:creator><description>&lt;p&gt;So here&amp;#39;s my situation: Migration scenario using Quest Migration Manager for Active Directory. A file server where Users&amp;#39; My Docs are being redirected to. Per the GUI (Windows Explorer), when viewing the Ownership on a folder, shows SOURCE\Username BUT both the script and the DIR /Q command show TARGET\Username .. Why does the GUI report something different?&lt;/p&gt;
&lt;p&gt;Interesting...&lt;/p&gt;
&lt;p&gt;Is Owner a single value attribute or a multivalue attribute?&lt;/p&gt;
&lt;p&gt;What would account for this?&lt;/p&gt;
&lt;p&gt;Thanks in advance if anybody can provide some insight!&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;- Rick Gregson&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;rickgregson864@convergenttechonline.com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3448699" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine the Owner of a File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/07/how-can-i-determine-the-owner-of-a-file.aspx#3347466</link><pubDate>Thu, 29 Jul 2010 14:06:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3347466</guid><dc:creator>bruce</dc:creator><description>&lt;p&gt;Why not just use one CMD line?&lt;/p&gt;
&lt;p&gt;&amp;gt; dir /q &lt;/p&gt;
&lt;p&gt;DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]&lt;/p&gt;
&lt;p&gt; &amp;nbsp;[/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]&lt;/p&gt;
&lt;p&gt; &amp;nbsp;/Q &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Display the owner of the file.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3347466" width="1" height="1"&gt;</description></item></channel></rss>