CMD

How to find File and Folder Ownership information using Command Prompt

How to find File and Folder Ownership information using Command Prompt

This step by step guide will show you how you can find the File & Folder Ownership information using Command Prompt. It is possible to check the ownership of a single directory, all sub-directories, and files with the help of this guide. For your information, you can use this trick on almost any Windows version.

Find File & Folder Ownership information using CMD

To find the File & Folder Ownership information using Command Prompt, follow these steps:

  1. Open Command Prompt on your computer
  2. Navigate to the desired folder
  3. Use DIR command switch
  4. Find the ownership information

To get started, you need to open the Command Prompt first. There are several methods to open the Command Prompt window on your Windows computer. The simplest way is to search for it in the Taskbar search box or press Win+R buttons together to open the Run box, type cmd in it and hit Enter.

After opening the Command Prompt, you need to use the DIR command switch. Next, you need to navigate to the folder where the target file or folder is located.

Say, for example, you have a folder on your Desktop, and it is named as TWC. To navigate to this folder, you need to enter this command-

cd C:\Users\\Desktop\TWC

Now, if you want to check the ownership details of the TWC folder only, enter this command-

dir /q /ad

or

dir /ad

If you want to check the ownership details of all files included in the TWC folder, you have to enter this command-

dir /q

You will some columns as shown in the following image-

The fourth column contains the owner's name.

As all the files are under one user account or owner, it is showing the same name. If you have multiple files and owners, you can find the difference in the same column.

This command also shows the number of files, folders or directories, and the respective size so that you can perform the next task according to your requirements.

Related reads:

Control & manage mouse movement between multiple monitors in Windows 10
Dual Display Mouse Manager lets you control & configure mouse movement between multiple monitors, by slowing down its movements near the border. Windo...
WinMouse lets you customize & improve mouse pointer movement on Windows PC
If you want to improve the default functions of your mouse pointer use freeware WinMouse. It adds more features to help you get the most out of your h...
Mouse left-click button not working on Windows 10
If you are using a dedicated mouse with your laptop, or desktop computer but the mouse left-click button is not working on Windows 10/8/7 for some rea...