• No results found

CMD Commands

N/A
N/A
Protected

Academic year: 2021

Share "CMD Commands"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)c c   

(2)     ADDUSERS ARP ASSOC ASSOCIAT ATTRIB. Add or list users to/from a CSV file Address Resolution Protocol Change file extension associations‡ One step file association Change file attributes. b BOOTCFG Edit Windows boot settings BROWSTAT Get domain, browser and PDC info c CACLS CALL CD CHANGE CHKDSK CHKNTFS CHOICE CIPHER CleanMgr CLEARMEM CLIP CLS CLUSTER CMD COLOR COMP COMPACT COMPRESS CON2PRT CONVERT COPY CSCcmd CSVDE. Change file permissions Call one batch program from another‡ Change Directory - move to a specific Folder‡ Change Terminal Server Session properties Check Disk - check and repair disk problems Check the NTFS file system Accept keyboard input to a batch file Encrypt or Decrypt files/folders Automated cleanup of Temp files, recycle bin Clear memory leaks Copy STDIN to the Windows clipboard. Clear the screen‡ Windows Clustering Start a new CMD shell Change colors of the CMD window‡ Compare the contents of two files or sets of files Compress files or folders on an NTFS partition Compress individual files on an NTFS partition Connect or disconnect a Printer Convert a FAT drive to NTFS. Copy one or more files to another location‡ Client-side caching (Offline Files) Import or Export Active Directory data. DATE DEFRAG DEL DELPROF DELTREE DevCon DIR DIRUSE DISKCOMP DISKCOPY DISKPART DNSSTAT DOSKEY DSACLs DSAdd DSGet DSQuery DSMod. Display or set the date‡ Defragment hard drive Delete one or more files‡ Delete NT user profiles Delete a folder and all subfolders Device Manager Command Line Utility Display a list of files and folders‡ Display disk usage Compare the contents of two floppy disks Copy the contents of one floppy disk to another Disk Administration DNS Statistics Edit command line, recall commands, and create macros Active Directory ACLs Add items to active directory (user group computer) View items in active directory (user group computer) Search for items in active directory (user group computer) Modify items in active directory (user group computer). d.

(3) DSMove DSRM. Move an Active directory Object Remove items from Active Directory. e ECHO Display message on screen‡ ENDLOCAL End localisation of environment changes in a batch file‡ ERASE Delete one or more files‡ EVENTCREATE Add a message to the Windows event log Quit the current script/routine and set an errorlevel‡ EXIT EXPAND Uncompress files EXTRACT Uncompress CAB files f FC FIND FINDSTR FOR /F FOR /F FOR FORFILES FORMAT FREEDISK FSUTIL FTP FTYPE. Compare two files Search for a text string in a file Search for strings in files Loop command: against a set of files‡ Loop command: against the results of another command‡ Loop command: all options Files, Directory, List‡ Batch process multiple files Format a disk Check free disk space (in bytes) File and Volume utilities File Transfer Protocol Display or modify file types used in file extension associations‡. g Display membership of global groups GLOBAL Direct a batch program to jump to a labelled line‡ GOTO GPUPDATE Update Group Policy settings h HELP. Online Help. iCACLS IF IFMEMBER IPCONFIG. Change file and folder permissions Conditionally perform a command‡ Is the current user in an NT Workgroup Configure IP. KILL. Remove a program from memory. LABEL LOCAL LOGEVENT LOGOFF LOGTIME. Edit a disk label Display membership of local groups Write text to the NT event viewer Log a user off Log the date and time in a file. MAPISEND MBSAcli MEM MD MKLINK MODE MORE MOUNTVOL MOVE MOVEUSER MSG MSIEXEC MSINFO MSTSC. Send email from the command line Baseline Security Analyzer. Display memory usage Create new folders‡ Create a symbolic link (linkd) Configure a system device Display output, one screen at a time Manage a volume mount point Move files from one folder to another‡ Move a user from one domain to another Send a message Microsoft Windows Installer Windows NT diagnostics Terminal Server Connection (Remote Desktop Protocol). i. k l. m.

(4) MUNGE MV. Find and Replace text within file(s) Copy in-use files. NET NETDOM NETSH NETSVC NBTSTAT NETSTAT NOW NSLOOKUP NTBACKUP NTRIGHTS. Manage network resources Domain Manager Configure Network Interfaces, Windows Firewall & Remote access Command-line Service Controller Display networking statistics (NetBIOS over TCP/IP) Display networking statistics (TCP/IP) Display the current Date and Time Name server lookup Backup folders to tape Edit user account rights. n. o OPENFILES Query or display open files p Display or set a search path for executable files‡ PATH PATHPING Trace route plus network latency and packet loss PAUSE Suspend processing of a batch file and display a message‡ Show permissions for a user PERMS PERFMON Performance Monitor PING Test a network connection Restore the previous value of the current directory saved by POPD PUSHD‡ PORTQRY Display the status of ports and services POWERCFG Configure power settings Print a text file PRINT PRNCNFG Display, configure or rename a printer PRNMNGR Add, delete, list printers set the default printer Change the command prompt‡ PROMPT PsExec Execute process remotely Show files opened remotely PsFile Display the SID of a computer or a user PsGetSid PsInfo List information about a system Kill processes by name or process ID PsKill List detailed information about processes PsList PsLoggedOn Who's logged on (locally or via resource sharing) PsLogList Event log records Change account password PsPasswd PsService View and control services PsShutdown Shutdown or reboot a computer PsSuspend Suspend processes Save and then change the current directory‡ PUSHD q QGREP Search file(s) for lines that match a given pattern. r RASDIAL Manage RAS connections RASPHONE Manage RAS connections RECOVER Recover a damaged file from a defective disk. Registry: Read, Set, Export, Delete keys and values REG REGEDIT Import or export registry settings REGSVR32 Register or unregister a DLL Change Registry Permissions REGINI REM Record comments (remarks) in a batch file‡ REN Rename a file or files‡ REPLACE Replace or update one file with another RD Delete folder(s)‡.

(5) RMTSHARE ROBOCOPY ROUTE RUNAS RUNDLL32. Share a folder or a printer Robust File and Folder Copy Manipulate network routing tables Execute a program under a different user account Run a DLL command (add/remove print connections). s SC Service Control SCHTASKS Schedule a command to run at a specific time SCLIST Display NT Services Display, set, or remove environment variables‡ SET SETLOCAL Control the visibility of environment variables‡ Set environment variables permanently SETX SFC System File Checker List or edit a file share or print share SHARE SHIFT Shift the position of replaceable parameters in a batch file‡ SHORTCUT Create a windows shortcut (.LNK file) SHOWGRPS List the NT Workgroups a user has joined SHOWMBRS List the Users who are members of a Workgroup SHUTDOWN Shutdown the computer Wait for x seconds SLEEP Software Licensing Management (Vista/2008) SLMGR SOON Schedule a command to run in the near future Sort input SORT START Start a program or command in a separate window‡ Switch User SU SUBINACL Edit file and folder Permissions, Ownership and Domain Associate a path with a drive letter SUBST SYSTEMINFO List system configuration t TASKLIST TASKKILL TIME TIMEOUT TITLE TLIST TOUCH TRACERT TREE TYPE. List running applications and services Remove a running process from memory Display or set the system time‡ Delay processing of a batch file Set the window title for a CMD.EXE session‡ Task list with full path Change file timestamps Trace route to a remote host Graphical display of folder structure Display the contents of a text file‡. USRSTAT. List domain usernames and last login. VER VERIFY VOL. Display version information‡ Verify that files have been saved‡ Display a disk label‡. WHERE WHOAMI WINDIFF WINMSD WINMSDP WMIC. Locate and display files in a directory tree Output the current UserName and domain Compare the contents of two files or sets of files Windows system diagnostics Windows system diagnostics II WMI Commands. XCACLS XCOPY ::. Change file and folder permissions Copy files and folders Comment / Remark‡. u v. w. x. .

(6)   

(7)    

(8)  c  

(9)    c   

(10)    c 

(11) 

(12) . 

(13)   c 

(14) 

(15) . 

(16)  c

(17) 

(18) 

(19)   c !

(20) "

(21)    c !

(22) "

(23) c#!

(24) "

(25)  

(26)   $$% c !

(27) "

(28) c       

(29)   $$& c !

(30) "

(31) '!

(32) "

(33) c ()*  

(34)   $$+ c 

(35)  .  

(36)   .  c ,

(37) c   

(38) !   # c   ,     c

(39)   - "

(40)       . /'  ,    .. 

(41) *

(42) 

(43) *0

(44)    

(45)    

(46) * - "

(47)  

(48) "

(49)   

(50) 

(51) -  

(52)    /)/,1! // 

(53) 

(54)  

(55) . 

(56) - "  

(57) .  !

(58)  .   '

(59)    *". 

(60) - " 1! " . 

(61) - "    -"2  

(62) . 

(63) !  

(64) 

(65)    

(66) . / 

(67) 

(68)   

(69)  )  !

(70) 

(71)    )  - "

(72)  "  )

(73)  1 

(74) ! 3

(75)  4  )

(76)  1

(77) . 

(78) 4 " )/  ,  "

(79)  )/)*

(80) " 

(81) 1!*

(82) "  )/)*

(83) " 

(84)  *

(85) " )/)*

(86) " 

(87) *

(88) " )/- " /"  )/!

(89)  - "

(90) /

(91)  ) !

(92) 

(93)  

(94) /  ) !

(95) 

(96) /  ) !

(97) 

(98) c

(99)  

(100)  

(101) .

(102) )

(103)   '

(104) .  ",

(105)  +& )

(106)  

(107) 

(108) *

(109) , 

(110) *

(111)  )

(112)  

(113) ! / "5  

(114)     ))! 

(115)    6  

(116)    

(117)   7'" 

(118) 

(119) *  . " 

(120) * 7 ' "

(121) *

(122) . " 7 * * *   7

(123)   

(124) !   7

(125)   

(126) !  7

(127)  ' "  7

(128)  ' " 7 

(129) !

(130) 

(131)  

(132) * 

(133)  7  

(134) *  7 7 

(135) *  8  

(136) 

(137) 9   8

(138) !  6

(139) 1!!

(140) *"  5 4 "'

(141)       5 

(142) !

(143) 

(144)     5! *"

(145)   *" ' '55  

(146)      :

(147) !

(148) 

(149)  

(150) /

(151)  2 " "! /5  

(152)   / 2 ' 

(153) !      2 ,

(154)  8

(155) 1!

(156) "

(157)   2 "  " ** -

(158)  *c 3  -

(159)  *64 34  -

(160)  *-   ' *

(161)  . 

(162)  -

(163)  *!     -

(164)  *! 

(165)   3 

(166)   -

(167)  *'

(168) ) "  .    -

(169)  *

(170) 3 

(171)  - !

(172) 

(173)  

(174)   - !

(175) 

(176)     -'#- "

(177) 3 "

(178)  #

(179) /    

(180)      #

(181) /       #

(182) /'

(183)    #    .

(184) ). )  ' 

(185) c 

(186) 

(187)   +&   '

(188)  :

(189)  / !  

(190)  ! 

(191) !

(192) 

(193)  

(194)   !

(195) *

(196)  - 

(197) 

(198) *   !  -     ! ) 

(199)  

(200)  ! 

(201)  *"

(202)   

(203) *"  !

(204)  

(205)  7 4 

(206) 

(207)  

(208)  !

(209)  

(210) 7 

(211) 

(212)  

(213)  !

(214)   

(215) 

(216) 6

(217)   ; /3; /  ; /! 

(218) 30 / 

(219)  " ' "   "

(220) 6

(221) 

(222) " "

(223) 6

(224) 

(225) "+&   !

(226) *

(227)  - 

(228) 

(229) *    c   

(230)   )/    '

(231) " "

(232)    '

(233) "

(234) 

(235) 0  

(236) 0   ' *!  1!!

(237) *

(238)    ' 

(239)   

(240)    '  / 

(241)   / ' 

(242)   

(243)    '

(244)  

(245)    '

(246) 

(247)   

(248) 

(249)  '

(250) 7 

(251) *"  ')       ' *

(252) 2   "c      '   c   '  

(253) 

(254)     

(255) 

(256) 

(257)  '        ';2   *"

(258)    *" '   

(259)    '

(260)   .    ' *"

(261)  6

(262)  ' *"

(263)  , *" '7  /

(264) ,' !

(265) "*  '5 *

(266)    * +& '!

(267) 

(268)   '!

(269) 

(270)   '!

(271) 

(272) c $'!

(273) 

(274)  

(275) # $.

(276) '!

(277) 

(278) )  64  !

(279)    $'!

(280) 

(281) 

(282) 

(283) $ '!

(284) 

(285) !

(286) *

(287)  $'!

(288) 

(289) !

(290)   $'!

(291) 

(292)    /- "

(293)  /"

(294)       

(295) ! *

(296) - 5    

(297)   5   /,53 / ,

(298) c  - "  

(299) "

(300)   ,- "

(301)     6

(302)

(303)

(304) 

(305) 

(306)    7 

(307)     * 

(308)    7

(309)  *

(310)      7

(311)  c ' 

(312)   *    5 "c 0  

(313)    "

(314)    - " *

(315)  " *   - " 5 *

(316) 

(317)  

(318) "    -   

(319) - !     

(320)    ' 

(321)   

(322)      '' 

(323) . /   , "

(324)    ,       , '   5  

(325)       1! 

(326) 

(327)  

(328) 

(329)    

(330)  c    

(331)  

(332)  

(333)   .

(334)

References

Related documents

Owner Create, read, modify, and delete all items and files; create subfolders; set permissions for other people to access the folder.. Publishing Author Create and read

The target patient group is assumed to have a clinical history (i.e. anterolateral shoulder pain not radiating past the elbow), physical examination (e.g.. external rotation

As a people who represent the continuing struggle for American freedom, the case of the Black Indians of the Five Civilized Tribes demonstrates how hegemony introduced the

Now select Yes, I want to delete all the partitions on the destination hard disk drive before restoring.. This will delete everything on the drive during

To close or delete a chart on the currency list - highlight one of the charts in the list, then right click to display the chart open, close or delete option menu.. Click on

Data Handler Manager Config Param \@DATA_HANDLER_MANAGER_CONFIG_PAR AMS Display Acknowledgement On Add On Display Acknowledgement On Delete On Display Acknowledgement On

At Nightingale, Sectra Breast Imaging PACS integrates five mammography modalities from three different vendors, a number of other imaging modalities and an existing RIS and

Despite current budget challenges, 65 percent of school districts in the United States plan to increase technology investments in the classroom over the next two