Board Prototype

Attention : Programming, Development, Edtior check content blog in Main. Error be no Running.

Sunday, October 19, 2025

Windows Command - Function

 

Basic File and Directory Management

  • dirLists files and directories in the current folder5.
  • cd chdirChanges the current directory5.
  • cd..Moves up one level in the directory structure8.
  • mkdir mdCreates new directory5.
  • rmdir rdDeletes an empty directory; use /s for recursive deletion5.
  • copyCopies files from one location to another5.
  • xcopyAdvanced copy command that supports copying directories and subdirectories2.
  • moveMoves or renames files5.
  • del eraseDeletes one or more files permanently5.
  • ren renameRenames files or folders5.
  • attribDisplays or changes file attributes (Readonly, Hidden, System, etc.)2.
  • fcCompares the contents of two files for differences5.
  • treeDisplays the directory structure in tree view2.

System Management Commands

  • systeminfoDisplays detailed information about the system, including OS, RAM, disk, and updates5.
  • tasklistLists all active processes5.
  • taskkillTerminates process by name or PID (use /F to force) 5.
  • shutdownShuts down or restarts the computer5.
  • sfc scannowScans and repairs system files5.
  • chkdskChecks and repairs disk errors5.
  • diskpartManages disk partitions, volumes, and formatting5.
  • formatFormats disk to specified filesystem5.
  • bcdedit bcdbuildManages Boot Configuration Data1.

Networking and Connectivity Commands

  • ipconfigDisplays IP configuration of adapters, subnet, and gateway5.
  • pingTests connectivity to another device or website5.
  • tracertTraces the path packets take to reach destination5.
  • netstatDisplays active network connections and ports5.
  • nslookupRetrieves DNS information for domain5.
  • net net userManages network resources and user accounts, including adding or deleting users7.
  • getmacRetrieves the MAC address of network adapters7.
  • pathpingCombines ping and tracert to provide network diagnostics7.

Scripting and Automation Commands

  • echoDisplays messages or enables/disables command echoing2.
  • pausePauses batch file until key is pressed5.
  • callCalls another batch script without stopping the parent script1.
  • for forfilesLoops over files or sets of commands1.
  • set setlocal setxDisplays or modifies environment variables5.
  • clsClears the Command Prompt window5.
  • exitExits CMD5.
  • help [command]Displays detailed usage information for specific command5.

Disk and File Utilities

  • compactDisplays or modifies compression on NTFS files5.
  • cipherEncrypts or decrypts files and directories5.
  • diskperfEnables/disables disk performance counters1.
  • defragConsolidates fragmented files on disk1.
  • cleanmgrCleans temporary files, Recycle Bin, and more1.

Advanced and Administrative Commands

  • netshConfigures network interfaces, firewalls, and Wi-Fi profiles5.
  • powercfgManages power settings and battery reports7.
  • wmicProvides Windows Management Instrumentation queries, such as checking startup items5.
  • reg regedit regsvr32Access, modify, or register Windows Registry entries or DLLs7.
  • sc schtasksManages Windows services and scheduled tasks5.
  • diskshadowManages Windows Volume Shadow Copies8.

Tips for Effective CMD Use

  • Use [command] /? to get detailed help for any command8.
  • Run CMD as Administrator for system-level tasks like disk checks or user management5.
  • Combine commands in batch scripts to automate repetitive tasks7.
  • Use tab completion and arrow keys to navigate command history efficiently5.

No comments: