Computer Science, asked by akashkanojiya9804, 1 year ago

Write down the 10 dir commands with their descriptions?

Answers

Answered by alinakincsem
14

The 10 dir commands with their descriptions :

  1. dir /ad: to display just the directories in the current path.
  2. dir /a:s: to show all system files inside your current path.
  3. dir /ash: to show only system files that are also hidden.
  4. dir /b: to display only the name of the folders and files in the current directory and not attributes like file size and time stamps.
  5. dir /L: to display all names of files and folders as lowercase.
  6. dir/OD: to sort results by time and date, with older entries appearing first.
  7. dir /P: to have the Command Prompt pause the results after it displays each screen
  8. dir /Q: to display metadata tied to files and directories, along with ownership details.
  9. dir /TC: to sort results by the time items were created.
  10. dir \*.mp3 /s: to view all files of a certain type within all subsequent folders of your current path.

Answered by Arslankincsem
3

There are several Dir commands that when implemented and executed displays all the information about different directories and files. It can also check the availability of the disk space. Here is a list of ten Dir commands.

dir

dir /s /w /p "C:\Program Files",  

dir /s /q /a:sh /p C:\Windows,

dir \ /s | find "i" | more,

dir /s /a:hs /q C:\Windows > myfile.txt,

type myfile.txt,

type myfile.txt | more,

dir \ /s | find "i" | more,

dir /o:-n,

dir *.exe

Similar questions