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:

Gry Zremasterowane gry HD dla Linuksa, które nigdy wcześniej nie zostały wydane na Linuksa
Zremasterowane gry HD dla Linuksa, które nigdy wcześniej nie zostały wydane na Linuksa
Wielu twórców gier i wydawców wymyśla remaster HD starych gier, aby przedłużyć żywotność serii, prosimy fanów o kompatybilność z nowoczesnym sprzętem ...
Gry Jak używać AutoKey do automatyzacji gier Linux
Jak używać AutoKey do automatyzacji gier Linux
AutoKey to narzędzie do automatyzacji pulpitu dla systemów Linux i X11, zaprogramowane w Python 3, GTK i Qt. Korzystając ze skryptów i funkcji MAKRO, ...
Gry How to Show FPS Counter in Linux Games
How to Show FPS Counter in Linux Games
Linux gaming got a major push when Valve announced Linux support for Steam client and their games in 2012. Since then, many AAA and indie games have m...