Skip to content

Active Directory Tools

  • Home
  • PowerShell Tutorials
  • Active Directory
  • CMD
  • About Us
  • Contact

CMD

This page covers step by step tutorials and guide on various CMD commands.

How to Delete Directories Using Wildcards in CMD

by ADAdmin

You can use the following syntax in Command Prompt (CMD) to delete directories using wildcards: This particular example will delete all directories that match the …

Read more

How to Delete All Files in a Directory in CMD

by ADAdmin

You can use the del command in Command Prompt (CMD) to delete all files in a directory: In this example, the del command will delete …

Read more

How to Check if a Directory Exists in CMD

by ADAdmin

You can use the if exists command in Command Prompt (CMD) to check if a directory exists: In this example, if exist command followed by …

Read more

How to Get Back to Root Directory in CMD

by ADAdmin

You can use the cd \ command in Command Prompt (CMD) to navigate back to the root directory: In this example, the cd \ command …

Read more

How to Get Current Directory Path in CMD

by ADAdmin

You can use the following syntax in Command Prompt (CMD) to get the current directory path: In this example, the cd command will display the …

Read more

How to Get Files with Size Greater than 0 Bytes in CMD

by ADAdmin

You can use the forfiles command in Command Prompt (CMD) to list files with a size greater than 0 bytes in a directory: In this …

Read more

How to Get Folder Permission Access in CMD

by ADAdmin

You can use the following syntax in Command Prompt (CMD) to get the permission access details of a folder: This example will display the access …

Read more

How to Get the Size of a Directory in CMD

by ADAdmin

You can use the following syntax in Command Prompt (CMD) to get the size of a directory: This example will list all files and subdirectories …

Read more

How to List Files in a Directory in CMD

by ADAdmin

You can use the following syntax in Command Prompt (CMD) to list only the files in a directory: This example will list all files in …

Read more

How to List All Files and Directories in CMD

by ADAdmin

You can list all files and directories in the Command Prompt (CMD) using the dir command. This particular example will list all files and subdirectories …

Read more

Older posts
Newer posts
← Previous Page1 Page2 Page3 Next →

Recent Posts

  • PowerShell Array of Arrays: A Complete Guide
  • How to List Installed Modules in PowerShell
  • How to Use the Find-Script Cmdlet in PowerShell
  • How to Use the Find-Command Cmdlet in Powershell
  • How to Install and Update PowerShellGet Module

Footer Bar

  • PS
  • Windows Commands
  • Privacy Policy
  • Terms of Condition
Copyright © 2025 ActiveDirectoryTools All rights reserved