computer help index
 
 
Search:
"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows XP and DOS

Display Directory and File Owners

SUMMARY: If you share your Windows XP machine with others, this parameter lets you display directory and file ownership at the DOS prompt or in a batch file.Bookmark and Share

If you administer a Windows XP machine containing multiple user accounts, it may prove beneficial to view who owns a particular file or directory. This can help prevent accidentally moving or deleting a file used by someone else, or this feature can help monitor unwanted activity.

dir /q

If you just want to find files owned by the Administrator account, for example, use the following piped command:

dir /q | find "Administrator"

To view all files owned by Administrator in the current directory and all subdirectories, pipe the command with findstr as follows:

dir /q /s | findstr "Administrator Directory"

This will display each directory name followed by all files (if any) owned by the Administrator account.

 

Discuss This Tip

Print This Tip

Get E-Mail When New Tips are Online

Return to the Windows XP and DOS page.


More in MalekTips:
Microsoft Internet Explorer 8Microsoft Publisher 2007Digital Waterfall Photography



Access a Favorite Website from Anywhere with a Keyboard ShortcutTwo Ways to Move a Page[MODIFIED] Avoid Water Vapor

Follow Us On Twitter
 
RSS Feeds - Subscribe!
 

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 



( sample / details ) ( opt-out instructions )
 


 Free Offer! - Subscribe to the MalekTips computer help list and be one of the first to get new computer tips, articles, and download links! ( privacy policy )  ( opt-out instructions )
This page and its contents are copyright
©1997 - 2009 Envision Programming. ( copyright/disclaimer )

Home | Free Computer Help Newsletter! | Windows | Web Development | DOS and Batch Files | Removing Spyware
Digital Camera and Photography | Computer and Internet | Software | Microsoft Word
Computer Articles | About | Contribute a Tip | Link To Us! | Computer and Technology Links
RSS Feeds |  Contact Us | Advertising | Privacy Policy | Computer Help Forums