1. Hãy ủng hộ PhienBanMoi.Com bằng cách LIKE trang FANPAGE , GOOGLE+ dưới mỗi bài viết hoặc chia sẻ website nếu thấy hữu ích. Trân trọng cảm ơn!
  2. [Thông Báo] Thông Báo Tuyển mod cho toàn diễn đàn


    Forum mới lập rất cần sự giúp đỡ của các bạn vậy nên bạn nào có khả năng thì đăng kí tham gia làm mod để quản lí, phát triển diễn đàn nhé!

Các lệnh trong cmd

Thảo luận trong 'Tin Học - Lập Trình' bắt đầu bởi dragon8792, 23 Tháng sáu 2012.


  1. dragon8792

    dragon8792 Member Chính Thức

    62
    10
    8
  2. quyttht

    quyttht Quý Ròm

    567
    562
    93
    [FONT=&quot]A ADDUSERS Add or list users to/from a CSV file[/FONT]
    [FONT=&quot]ARP Address Resolution Protocol[/FONT]
    [FONT=&quot]ASSOC Change file extension associations•[/FONT]
    [FONT=&quot]ASSOCIAT One step file association[/FONT]
    [FONT=&quot]ATTRIB Change file attributes[/FONT]
    [FONT=&quot]b[/FONT]
    [FONT=&quot]BOOTCFG Edit Windows boot settings[/FONT]
    [FONT=&quot]BROWSTAT Get domain, browser and PDC info[/FONT]
    [FONT=&quot]c[/FONT]
    [FONT=&quot]CACLS Change file permissions[/FONT]
    [FONT=&quot]CALL Call one batch program from another•[/FONT]
    [FONT=&quot]CD Change Directory - move to a specific Folder•[/FONT]
    [FONT=&quot]CHANGE Change Terminal Server Session properties[/FONT]
    [FONT=&quot]CHKDSK Check Disk - check and repair disk problems[/FONT]
    [FONT=&quot]CHKNTFS Check the NTFS file system[/FONT]
    [FONT=&quot]CHOICE Accept keyboard input to a batch file[/FONT]
    [FONT=&quot]CIPHER Encrypt or Decrypt files/folders[/FONT]
    [FONT=&quot]CleanMgr Automated cleanup of Temp files, recycle bin[/FONT]
    [FONT=&quot]CLEARMEM[/FONT][FONT=&quot] Clear memory leaks[/FONT]
    [FONT=&quot]CLIP Copy STDIN to the Windows clipboard.[/FONT]
    [FONT=&quot]CLS[/FONT][FONT=&quot] Clear the screen•[/FONT]
    [FONT=&quot]CLUSTER[/FONT][FONT=&quot] Windows Clustering[/FONT]
    [FONT=&quot]CMD Start a new CMD shell[/FONT]
    [FONT=&quot]COLOR Change colors of the CMD window•[/FONT]
    [FONT=&quot]COMP Compare the contents of two files or sets of files[/FONT]
    [FONT=&quot]COMPACT[/FONT][FONT=&quot] Compress files or folders on an NTFS partition[/FONT]
    [FONT=&quot]COMPRESS[/FONT][FONT=&quot] Compress individual files on an NTFS partition[/FONT]
    [FONT=&quot]CON2PRT Connect or disconnect a Printer[/FONT]
    [FONT=&quot]CONVERT[/FONT][FONT=&quot] Convert a FAT drive to NTFS.[/FONT]
    [FONT=&quot]COPY Copy one or more files to another location•[/FONT]
    [FONT=&quot]CSCcmd Client-side caching (Offline Files)[/FONT]
    [FONT=&quot]CSVDE Import or Export Active Directory data[/FONT]
    [FONT=&quot]d[/FONT]
    [FONT=&quot]DATE Display or set the date•[/FONT]
    [FONT=&quot]DEFRAG Defragment hard drive[/FONT]
    [FONT=&quot]DEL Delete one or more files•[/FONT]
    [FONT=&quot]DELPROF Delete NT user profiles[/FONT]
    [FONT=&quot]DELTREE Delete a folder and all subfolders[/FONT]
    [FONT=&quot]DevCon Device Manager Command Line Utility[/FONT]
    [FONT=&quot]DIR Display a list of files and folders•[/FONT]
    [FONT=&quot]DIRUSE Display disk usage[/FONT]
    [FONT=&quot]DISKCOMP Compare the contents of two floppy disks[/FONT]
    [FONT=&quot]DISKCOPY Copy the contents of one floppy disk to another[/FONT]
    [FONT=&quot]DISKPART Disk Administration[/FONT]
    [FONT=&quot]DNSSTAT[/FONT][FONT=&quot] DNS Statistics[/FONT]
    [FONT=&quot]DOSKEY Edit command line, recall commands, and create macros[/FONT]
    [FONT=&quot]DSADD Add user (computer, group..) to active directory
    [/FONT]
    [FONT=&quot]DSQUERY[/FONT][FONT=&quot] List items in active directory[/FONT]
    [FONT=&quot]DSMOD Modify user (computer, group..) in active directory[/FONT]
    [FONT=&quot]DSRM[/FONT][FONT=&quot] Remove items from Active Directory[/FONT]
    [FONT=&quot]e[/FONT]
    [FONT=&quot]ECHO Display message on screen•[/FONT]
    [FONT=&quot]ENDLOCAL End localisation of environment changes in a batch file•[/FONT]
    [FONT=&quot]ERASE Delete one or more files•[/FONT]
    [FONT=&quot]EXIT Quit the current script/routine and set an errorlevel•[/FONT]
    [FONT=&quot]EXPAND Uncompress files[/FONT]
    [FONT=&quot]EXTRACT Uncompress CAB files[/FONT]
    [FONT=&quot]f[/FONT]
    [FONT=&quot]FC Compare two files[/FONT]
    [FONT=&quot]FIND Search for a text string in a file[/FONT]
    [FONT=&quot]FINDSTR Search for strings in files[/FONT]
    [FONT=&quot]FOR /F Loop command: against a set of files•[/FONT]
    [FONT=&quot]FOR /F Loop command: against the results of another command•[/FONT]
    [FONT=&quot]FOR Loop command: all options Files, Directory, List•[/FONT]
    [FONT=&quot]FORFILES Batch process multiple files[/FONT]
    [FONT=&quot]FORMAT Format a disk[/FONT]
    [FONT=&quot]FREEDISK[/FONT][FONT=&quot] Check free disk space (in bytes)[/FONT]
    [FONT=&quot]FSUTIL File and Volume utilities[/FONT]
    [FONT=&quot]FTP File Transfer Protocol[/FONT]
    [FONT=&quot]FTYPE Display or modify file types used in file extension associations•[/FONT]
    [FONT=&quot]g[/FONT]
    [FONT=&quot]GLOBAL Display membership of global groups[/FONT]
    [FONT=&quot]GOTO Direct a batch program to jump to a labelled line•[/FONT]
    [FONT=&quot]h[/FONT]
    [FONT=&quot]HELP Online Help[/FONT]
    [FONT=&quot]i[/FONT]
    [FONT=&quot]iCACLS Change file and folder permissions[/FONT]
    [FONT=&quot]IF Conditionally perform a command•[/FONT]
    [FONT=&quot]IFMEMBER Is the current user in an NT Workgroup[/FONT]
    [FONT=&quot]IPCONFIG Configure IP[/FONT]
    [FONT=&quot]k[/FONT]
    [FONT=&quot]KILL Remove a program from memory[/FONT]
    [FONT=&quot]l[/FONT]
    [FONT=&quot]LABEL Edit a disk label[/FONT]
    [FONT=&quot]LOCAL Display membership of local groups[/FONT]
    [FONT=&quot]LOGEVENT Write text to the NT event viewer.[/FONT]
    [FONT=&quot]LOGOFF Log a user off[/FONT]
    [FONT=&quot]LOGTIME Log the date and time in a file[/FONT]
    [FONT=&quot]m[/FONT]
    [FONT=&quot]MAPISEND Send email from the command line[/FONT]
    [FONT=&quot]MBSAcli Baseline Security Analyzer.[/FONT]
    [FONT=&quot]MEM Display memory usage[/FONT]
    [FONT=&quot]MD Create new folders•[/FONT]
    [FONT=&quot]MKLINK Create a symbolic link (linkd)[/FONT]
    [FONT=&quot]MODE Configure a system device[/FONT]
    [FONT=&quot]MORE Display output, one screen at a time[/FONT]
    [FONT=&quot]MOUNTVOL Manage a volume mount point[/FONT]
    [FONT=&quot]MOVE Move files from one folder to another•[/FONT]
    [FONT=&quot]MOVEUSER Move a user from one domain to another[/FONT]
    [FONT=&quot]MSG Send a message[/FONT]
    [FONT=&quot]MSIEXEC Microsoft Windows Installer[/FONT]
    [FONT=&quot]MSINFO Windows NT diagnostics[/FONT]
    [FONT=&quot]MSTSC Terminal Server Connection (Remote Desktop Protocol)[/FONT]
    [FONT=&quot]MUNGE Find and Replace text within file(s)[/FONT]
    [FONT=&quot]MV Copy in-use files[/FONT]
    [FONT=&quot]n[/FONT]
    [FONT=&quot]NET Manage network resources[/FONT]
    [FONT=&quot]NETDOM Domain Manager[/FONT]
    [FONT=&quot]NETSH Configure network protocols[/FONT]
    [FONT=&quot]NETSVC Command-line Service Controller[/FONT]
    [FONT=&quot]NBTSTAT Display networking statistics (NetBIOS over TCP/IP)[/FONT]
    [FONT=&quot]NETSTAT Display networking statistics (TCP/IP)[/FONT]
    [FONT=&quot]NOW Display the current Date and Time[/FONT]
    [FONT=&quot]NSLOOKUP Name server lookup[/FONT]
    [FONT=&quot]NTBACKUP Backup folders to tape[/FONT]
    [FONT=&quot]NTRIGHTS Edit user account rights[/FONT]
    [FONT=&quot]p[/FONT]
    [FONT=&quot]PATH Display or set a search path for executable files•[/FONT]
    [FONT=&quot]PATHPING Trace route plus network latency and packet loss[/FONT]
    [FONT=&quot]PAUSE Suspend processing of a batch file and display a message•[/FONT]
    [FONT=&quot]PERMS Show permissions for a user[/FONT]
    [FONT=&quot]PERFMON Performance Monitor[/FONT]
    [FONT=&quot]PING Test a network connection[/FONT]
    [FONT=&quot]POPD Restore the previous value of the current directory saved by PUSHD•[/FONT]
    [FONT=&quot]PORTQRY Display the status of ports and services[/FONT]
    [FONT=&quot]POWERCFG Configure power settings[/FONT]
    [FONT=&quot]PRINT Print a text file[/FONT]
    [FONT=&quot]PRNCNFG Display, configure or rename a printer[/FONT]
    [FONT=&quot]PRNMNGR Add, delete, list printers set the default printer[/FONT]
    [FONT=&quot]PROMPT Change the command prompt•[/FONT]
    [FONT=&quot]PsExec Execute process remotely[/FONT]
    [FONT=&quot]PsFile Show files opened remotely[/FONT]
    [FONT=&quot]PsGetSid Display the SID of a computer or a user[/FONT]
    [FONT=&quot]PsInfo List information about a system[/FONT]
    [FONT=&quot]PsKill Kill processes by name or process ID[/FONT]
    [FONT=&quot]PsList List detailed information about processes[/FONT]
    [FONT=&quot]PsLoggedOn Who's logged on (locally or via resource sharing)[/FONT]
    [FONT=&quot]PsLogList Event log records[/FONT]
    [FONT=&quot]PsPasswd Change account password[/FONT]
    [FONT=&quot]PsService View and control services[/FONT]
    [FONT=&quot]PsShutdown Shutdown or reboot a computer[/FONT]
    [FONT=&quot]PsSuspend Suspend processes[/FONT]
    [FONT=&quot]PUSHD Save and then change the current directory•[/FONT]
    [FONT=&quot]q[/FONT]
    [FONT=&quot]QGREP Search file(s) for lines that match a given pattern.[/FONT]
    [FONT=&quot]r[/FONT]
    [FONT=&quot]RASDIAL[/FONT][FONT=&quot] Manage RAS connections[/FONT]
    [FONT=&quot]RASPHONE[/FONT][FONT=&quot] Manage RAS connections[/FONT]
    [FONT=&quot]RECOVER Recover a damaged file from a defective disk.[/FONT]
    [FONT=&quot]REG Registry: Read, Set, Export, Delete keys and values[/FONT]
    [FONT=&quot]REGEDIT Import or export registry settings[/FONT]
    [FONT=&quot]REGSVR32 Register or unregister a DLL[/FONT]
    [FONT=&quot]REGINI Change Registry Permissions[/FONT]
    [FONT=&quot]REM Record comments (remarks) in a batch file•[/FONT]
    [FONT=&quot]REN Rename a file or files•[/FONT]
    [FONT=&quot]REPLACE Replace or update one file with another[/FONT]
    [FONT=&quot]RD Delete folder(s)•[/FONT]
    [FONT=&quot]RMTSHARE Share a folder or a printer[/FONT]
    [FONT=&quot]ROBOCOPY Robust File and Folder Copy[/FONT]
    [FONT=&quot]ROUTE Manipulate network routing tables[/FONT]
    [FONT=&quot]RUNAS Execute a program under a different user account[/FONT]
    [FONT=&quot]RUNDLL32 Run a DLL command (add/remove print connections)[/FONT]
    [FONT=&quot]s[/FONT]
    [FONT=&quot]SC Service Control[/FONT]
    [FONT=&quot]SCHTASKS Schedule a command to run at a specific time[/FONT]
    [FONT=&quot]SCLIST Display NT Services[/FONT]
    [FONT=&quot]SET Display, set, or remove environment variables•[/FONT]
    [FONT=&quot]SETLOCAL Control the visibility of environment variables•[/FONT]
    [FONT=&quot]SETX Set environment variables permanently[/FONT]
    [FONT=&quot]SHARE List or edit a file share or print share[/FONT]
    [FONT=&quot]SHIFT Shift the position of replaceable parameters in a batch file•[/FONT]
    [FONT=&quot]SHORTCUT Create a windows shortcut (.LNK file)[/FONT]
    [FONT=&quot]SHOWGRPS List the NT Workgroups a user has joined[/FONT]
    [FONT=&quot]SHOWMBRS List the Users who are members of a Workgroup[/FONT]
    [FONT=&quot]SHUTDOWN Shutdown the computer[/FONT]
    [FONT=&quot]SLEEP Wait for x seconds[/FONT]
    [FONT=&quot]SLMGR Software Licensing Management (Vista/2008)[/FONT]
    [FONT=&quot]SOON Schedule a command to run in the near future[/FONT]
    [FONT=&quot]SORT Sort input[/FONT]
    [FONT=&quot]START Start a program or command in a separate window•[/FONT]
    [FONT=&quot]SU Switch User[/FONT]
    [FONT=&quot]SUBINACL Edit file and folder Permissions, Ownership and Domain[/FONT]
    [FONT=&quot]SUBST Associate a path with a drive letter[/FONT]
    [FONT=&quot]SYSTEMINFO List system configuration[/FONT]
    [FONT=&quot]t[/FONT]
    [FONT=&quot]TASKLIST List running applications and services[/FONT]
    [FONT=&quot]TASKKILL Remove a running process from memory[/FONT]
    [FONT=&quot]TIME Display or set the system time•[/FONT]
    [FONT=&quot]TIMEOUT Delay processing of a batch file[/FONT]
    [FONT=&quot]TITLE Set the window title for a CMD.EXE session•[/FONT]
    [FONT=&quot]TLIST Task list with full path[/FONT]
    [FONT=&quot]TOUCH Change file timestamps[/FONT]
    [FONT=&quot]TRACERT Trace route to a remote host[/FONT]
    [FONT=&quot]TREE Graphical display of folder structure[/FONT]
    [FONT=&quot]TYPE Display the contents of a text file•[/FONT]
    [FONT=&quot]u[/FONT]
    [FONT=&quot]USRSTAT[/FONT][FONT=&quot] List domain usernames and last login[/FONT]
    [FONT=&quot]v[/FONT]
    [FONT=&quot]VER Display version information•[/FONT]
    [FONT=&quot]VERIFY Verify that files have been saved•[/FONT]
    [FONT=&quot]VOL Display a disk label•[/FONT]
    [FONT=&quot]w[/FONT]
    [FONT=&quot]WHERE Locate and display files in a directory tree[/FONT]
    [FONT=&quot]WHOAMI Output the current UserName and domain[/FONT]
    [FONT=&quot]WINDIFF Compare the contents of two files or sets of files[/FONT]
    [FONT=&quot]WINMSD Windows system diagnostics[/FONT]
    [FONT=&quot]WINMSDP Windows system diagnostics II[/FONT]
    [FONT=&quot]WMIC WMI Commands[/FONT]
    [FONT=&quot]x[/FONT]
    [FONT=&quot]XCACLS Change file and folder permissions[/FONT]
    [FONT=&quot]XCOPY Copy files and folders[/FONT]
     

Chia sẻ trang này