The most useful Windows CMD commands reference

来源:互联网 发布:安卓音乐播放器源码 编辑:程序博客网 时间:2024/04/29 15:59

Below is the list of commands that can be run from windows command prompt (CMD).  You can follow the link given for a command to see the syntax and examples.

At:Schedule tasksAttrib:Set file attributesBootcfg:Enable kernel debuggingcopy:Copy filesCls:Clear command window screenCompact:Compress or decompress files and directoriesConvert:Convert FAT filesystem to NTFSDate:Set system date and timedefrag:Defrag disk drivesDel:Delete filesDir:List files and directoriesEventquery.vbs:View eventsfind:Search files for a given stringfindstr:Search files for a given string; Has advanced options than find command.for:Windows batch command for loopinggetmac:Find mac address of the systemhostname:Get system nameipconfig:Get IP addresslogoff:Logoff user sessionNet user:Manage user accountsNet use:Create/List/Delete network drivesNet localgroup:Manage local computer’s user groupsNet share:Create / List/ Delete shares on the local computerPowercfg:Manage power scheme on your laptopReg:Edit/create/delete registry keysRename:Rename files/directoriesRunas:Run an application as a different user in the same sessionSchtasks:Schedule tasksShutdown:Shutdown or reboot systemSort:Command for sorting text filesSysteminfo:Get computer informationTaskkill:Kill processestime:Set system timeTitle:Set command window titleXcopy:Copy files and directories

 

Resource Kit Tools:

CompressCompress a fileSrvinfoGet remote system informationtailPrint the last lines of a fileVerGet Windows OS version

 

0 0
原创粉丝点击