Uploaded October 2025 | Updated November 2026, 10 hours ago
How to View Files and Folders with dir Command in Command Prompt (CMD).
For More DOS or Command Prompt (CMD) Tips and Tricks Be Sure to Subscribe to Our Channel and Visit Our Website: a2zhow.com
Step by Step Instructions
0:00 Subscribe to Our Youtube Channel and Press the Bell Icon for Latest Updates
0:05 How to View Files and Folders Using Command Prompt (CMD).
0:09 We have a folder on our desktop called “Downloads.”
0:13 In this video, we will show you how to view files and folders inside this folder using the dir command in Command Prompt (CMD).
0:23 In the Windows Search Bar, type CMD.
0:29 Click on Command Prompt from the results.
0:34 The Command Prompt window will open on your desktop.
0:38 To move inside the Downloads folder, type: cd desktop
0:44 Now you are inside the Desktop folder.
0:47 type: cd Downloads
0:53 Now you are inside the Downloads folder.
0:56 To view files and folders inside this folder, Type: dir and press enter.
1:04 This will list all files and folders in the current directory along with the date/time, size, and a summary showing the total number of files and their size.
1:15 To View the Files and Folders in a Compact List format, Type: dir /b and press enter.
1:24 This prints only the file and folder names.
1:29 To view all files including hidden and system files: Type: dir /a and press enter.
1:38 This shows every entry, including hidden and system files.
1:43 As You Can See, This is Showing Entries of a Hidden Folder and a Hidden Mp4 File.
1:54 To view only directories: Type: dir /ad and press enter.
2:00 To view only files: Type: dir /a-d and press enter.
2:08 To view hidden files and folders directly in Windows Explorer, go to the View option in the top menu bar and check the box next to Hidden items.
2:29 Now, To View All the Files in the current folder and all subfolders. Type: dir /s and press enter.
2:44 To View the All the Files and Folders in a Compact List format, Type: dir /s /b and press enter.
2:56 To search for a specific file type, for example, all .txt files under this folder and its subfolders: Type: dir /s /b *.txt and press enter.
3:11 Similarly, you can search for JPG, MP4, or other file types.
3:22 It’s especially helpful when you’re troubleshooting, writing scripts, or working on systems without a graphical interface.
3:30 This is how you can view files and folders using the dir command in Command Prompt (CMD).
3:36 Thank You for Watching.
Previous Videos
youtu.be/bV_YTHgi6rA
youtu.be/SBmgE4H5lkU
Hashtags
#CMD #dircommand #CommandPrompt
Audio Credits:
Machinimasound.com
Jason Farnham (Locally_Sourced)
jasonfarnham.com
Image Credits
Image courtesy of [stockimages] at FreeDigitalVideos.net
Join this channel to get access to perks:
youtube.com/channel/UCcPjZtG6oVaexX0CR9025_g/join
How to View Files and Folders with dir Command in Command Prompt (CMD).
For More DOS or Command Prompt (CMD) Tips and Tricks Be Sure to Subscribe to Our Channel and Visit Our Website: a2zhow.com
Step by Step Instructions
0:00 Subscribe to Our Youtube Channel and Press the Bell Icon for Latest Updates
0:05 How to View Files and Folders Using Command Prompt (CMD).
0:09 We have a folder on our desktop called “Downloads.”
0:13 In this video, we will show you how to view files and folders inside this folder using the dir command in Command Prompt (CMD).
0:23 In the Windows Search Bar, type CMD.
0:29 Click on Command Prompt from the results.
0:34 The Command Prompt window will open on your desktop.
0:38 To move inside the Downloads folder, type: cd desktop
0:44 Now you are inside the Desktop folder.
0:47 type: cd Downloads
0:53 Now you are inside the Downloads folder.
0:56 To view files and folders inside this folder, Type: dir and press enter.
1:04 This will list all files and folders in the current directory along with the date/time, size, and a summary showing the total number of files and their size.
1:15 To View the Files and Folders in a Compact List format, Type: dir /b and press enter.
1:24 This prints only the file and folder names.
1:29 To view all files including hidden and system files: Type: dir /a and press enter.
1:38 This shows every entry, including hidden and system files.
1:43 As You Can See, This is Showing Entries of a Hidden Folder and a Hidden Mp4 File.
1:54 To view only directories: Type: dir /ad and press enter.
2:00 To view only files: Type: dir /a-d and press enter.
2:08 To view hidden files and folders directly in Windows Explorer, go to the View option in the top menu bar and check the box next to Hidden items.
2:29 Now, To View All the Files in the current folder and all subfolders. Type: dir /s and press enter.
2:44 To View the All the Files and Folders in a Compact List format, Type: dir /s /b and press enter.
2:56 To search for a specific file type, for example, all .txt files under this folder and its subfolders: Type: dir /s /b *.txt and press enter.
3:11 Similarly, you can search for JPG, MP4, or other file types.
3:22 It’s especially helpful when you’re troubleshooting, writing scripts, or working on systems without a graphical interface.
3:30 This is how you can view files and folders using the dir command in Command Prompt (CMD).
3:36 Thank You for Watching.
Previous Videos
youtu.be/bV_YTHgi6rA
youtu.be/SBmgE4H5lkU
Hashtags
#CMD #dircommand #CommandPrompt
Audio Credits:
Machinimasound.com
Jason Farnham (Locally_Sourced)
jasonfarnham.com
Image Credits
Image courtesy of [stockimages] at FreeDigitalVideos.net
Join this channel to get access to perks:
youtube.com/channel/UCcPjZtG6oVaexX0CR9025_g/join



![How to Delete Files Using Command Prompt (CMD)
How to Delete Files Using Command Prompt (CMD).
For More DOS or Command Prompt (CMD) Tips and Tricks Be Sure to Subscribe to Our Channel and Visit Our Website: https://www.a2zhow.com
Step by Step Instructions
0:00 Subscribe to Our Youtube Channel and Press the Bell Icon for Latest Updates
0:05 How to Delete Files Using Command Prompt (CMD).
0:07 I have a folder on my Desktop called Files, which contains files of different formats.
0:18 In this video, I’ll show you how to delete these files using Command Prompt.
0:23 First, navigate to the folder where you want to delete files.
0:27 In the File Explorer address bar, type cmd and press Enter.
0:34 The Command Prompt window will open, and you will already be inside the Files folder.
0:42 To delete a Single file, type: del notes.txt
0:50 This will delete the file named notes.txt in the current folder.
0:55 If you want to be asked before deleting a file, type: del /p links.txt
1:04 You will be prompted with a (Y/N) option.
1:08 Type Y for Yes to delete. Type N for No to keep the file.
1:16 To delete all files of a specific type in the current folder, type: Del *.mp4
1:26 This will delete all .mp4 files in the current folder only.
1:32 Please note that, Files inside subfolders will not be deleted.
1:42 To delete all files of a specific type in the current folder and its subfolders, type: Del /s *.jpg
1:55 This will delete all .jpg files inside the folder and also in its subfolders.
2:07 This is how you can delete files using Command Prompt (CMD).
2:10 Thank You for Watching.
Previous Videos
https://youtu.be/HvxFQyftCws
https://youtu.be/8URD6FGvdYk
Hashtags
#CMD #CommandPrompt #WindowsTips
Audio Credits:
http://www.Machinimasound.com
Jason Farnham (Locally_Sourced)
http://www.jasonfarnham.com/
Image Credits
Image courtesy of [stockimages] at FreeDigitalVideos.net
Join this channel to get access to perks:
https://www.youtube.com/channel/UCcPjZtG6oVaexX0CR9025_g/join How to Delete Files Using Command Prompt (CMD)](https://i.ytimg.com/vi/GN2PenM9dtQ/mqdefault.jpg)


![How to Find Your Public IP Address IPv6 Using Command Prompt
How to Find Your Public IP Address (IPV6) Using Command Prompt (CMD)
For More DOS or Command Prompt (CMD) Tips and Tricks Be Sure to Subscribe to Our Channel and Visit Our Website: https://www.a2zhow.com
Step by Step Instructions
0:00 Subscribe to Our Youtube Channel and Press the Bell Icon for Latest Updates
0:05 How to Find Your Public IP Address (IPv6) Using Command Prompt (CMD)
0:09 In the Windows Search Bar, type CMD.
0:14 Click on Command Prompt from the results.
0:18 The Command Prompt Window Will Open on Your Desktop.
0:23 In the Command Prompt window, type: nslookup myip.opendns.com resolver1.opendns.com Press Enter.
0:38 A list of network details will appear.
0:43 Here, you will see your Public IP Address (IPv6).
0:48 That’s how you can find your Public IP Address (IPv6) using Command Prompt (CMD).
0:53 Thank you for watching.
Previous Videos
https://youtu.be/99KBqdVe-1o
https://youtu.be/_0wc_Wk0mQI
Hashtags
#CMDIPv6 #PublicIPCMD #FindIPv6CMD #CommandPromptHacks
Audio Credits:
http://www.Machinimasound.com
Jason Farnham (Locally_Sourced)
http://www.jasonfarnham.com/
Image Credits
Image courtesy of [stockimages] at FreeDigitalVideos.net
Join this channel to get access to perks:
https://www.youtube.com/channel/UCcPjZtG6oVaexX0CR9025_g/join How to Find Your Public IP Address IPv6 Using Command Prompt](https://i.ytimg.com/vi/GYQE3vDdVlI/mqdefault.jpg)



![How to Create a Notepad Document Using Command Prompt
How to Create a Notepad Document Using Command Prompt (CMD).
For More DOS or Command Prompt (CMD) Tips and Tricks Be Sure to Subscribe to Our Channel and Visit Our Website: https://www.a2zhow.com
Step by Step Instructions
0:00 Subscribe to Our Youtube Channel and Press the Bell Icon for Latest Updates
0:05 How to Create a Notepad Document Using Command Prompt (CMD).
0:08 In the Windows Search Bar, type CMD.
0:13 Click on Command Prompt from the results.
0:17 The Command Prompt window will open on your desktop.
0:21 To create a file on the Desktop, first move into the Desktop folder.
0:26 type: cd desktop
0:31 Now you are inside the Desktop folder.
0:35 To create a new Notepad document, type:Notepad notes.txt
0:43 A Notepad window will now appear with a prompt asking if you want to create a new file.
0:48 Click Yes.
0:51 Type the text you want to save in Notepad.
1:05 Then click File Save or press Ctrl + S on Your Keyboard.
1:07 That’s it — a Notepad document called notes.txt is now saved on your Desktop.
1:14 This is how you can Create a Notepad Document Using Command Prompt (CMD).
1:18 Thank You for Watching.
Previous Videos
https://youtu.be/8URD6FGvdYk
https://youtu.be/5wtQ6S-F0po
Hashtags
#TechTutorial #Windows10Tips #CMDTutorial
Audio Credits:
http://www.Machinimasound.com
Jason Farnham (Locally_Sourced)
http://www.jasonfarnham.com/
Image Credits
Image courtesy of [stockimages] at FreeDigitalVideos.net
Join this channel to get access to perks:
https://www.youtube.com/channel/UCcPjZtG6oVaexX0CR9025_g/join How to Create a Notepad Document Using Command Prompt](https://i.ytimg.com/vi/HvxFQyftCws/mqdefault.jpg)