Write down the 10 dir commands with their descriptions?
Answers
Answered by
14
The 10 dir commands with their descriptions :
- dir /ad: to display just the directories in the current path.
- dir /a:s: to show all system files inside your current path.
- dir /ash: to show only system files that are also hidden.
- 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.
- dir /L: to display all names of files and folders as lowercase.
- dir/OD: to sort results by time and date, with older entries appearing first.
- dir /P: to have the Command Prompt pause the results after it displays each screen
- dir /Q: to display metadata tied to files and directories, along with ownership details.
- dir /TC: to sort results by the time items were created.
- dir \*.mp3 /s: to view all files of a certain type within all subsequent folders of your current path.
Answered by
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