Upload
chandra-pr-singh
View
1.432
Download
2
Embed Size (px)
DESCRIPTION
Citation preview
2. FC Compare two filesFIND Search for a text string in a fileFINDSTRSearch for strings in files~ FOR /F Loop command: against a set of files~ FOR /F Loop command: against the results of another command~ FORLoop command: all options Files, Directory, ListFORFILES Batch process multiple filesFORMAT Format a diskFREEDISK Check free disk space (in bytes)FSUTIL File and Volume utilitiesFTPFile Transfer Protocol~ FTYPEDisplay or modify file types used in file extension associations gGLOBAL Display membership of global groups~ GOTO Direct a batch program to jump to a labelled line hHELP Online Help i~ IF Conditionally perform a commandIFMEMBER Is the current user in an NT WorkgroupIPCONFIG Configure IP kKILL Remove a program from memory lLABELEdit a disk labelLOCALDisplay membership of local groupsLOGEVENT Write text to the NT event viewer.LOGOFF Log a user offLOGTIMELog the date and time in a file mMAPISEND Send email from the command lineMBSAcliBaseline Security Analyzer.MEMDisplay memory usage~ MD Create new foldersMKLINK Create a symbolic link (linkd)MODE Configure a system deviceMORE Display output, one screen at a timeMOUNTVOL Manage a volume mount point~ MOVE Move files from one folder to anotherMOVEUSER Move a user from one domain to anotherMSGSend a messageMSIEXECMicrosoft Windows InstallerMSINFO Windows NT diagnosticsMSTSCTerminal Server Connection (Remote Desktop Protocol)MUNGEFind and Replace text within file(s)MV Copy in-use files nNETManage network resourcesNETDOM Domain ManagerNETSHConfigure network protocolsNETSVC Command-line Service ControllerNBTSTATDisplay networking statistics (NetBIOS over TCP/IP)NETSTATDisplay networking statistics (TCP/IP)NOWDisplay the current Date and TimeNSLOOKUP Name server lookupNTBACKUP Backup folders to tapeNTRIGHTS Edit user account rights p~ PATH Display or set a search path for executable files 3. PATHPING Trace route plus network latency and packet loss~ PAUSESuspend processing of a batch file and display a messagePERMSShow permissions for a userPERFMON Performance MonitorPING Test a network connection~ POPD Restore the previous value of the current directory saved by PUSHDPORTQRY Display the status of ports and servicesPRINTPrint a text filePRNCNFG Display, configure or rename a printerPRNMNGR Add, delete, list printers set the default printer~ PROMPT Change the command promptPsExec Execute process remotelyPsFile Show files opened remotelyPsGetSid Display the SID of a computer or a userPsInfo List information about a systemPsKill Kill processes by name or process IDPsList List detailed information about processesPsLoggedOn Who's logged on (locally or via resource sharing)PsLogList Event log recordsPsPasswd Change account passwordPsService View and control servicesPsShutdown Shutdown or reboot a computerPsSuspend Suspend processes~ PUSHDSave and then change the current directory q QGREP Search file(s) for lines that match a given pattern. rRASDIALManage RAS connectionsRASPHONE Manage RAS connectionsRECOVERRecover a damaged file from a defective disk.REGRegistry: Read, Set, Export, Delete keys and valuesREGEDITImport or export registry settingsREGSVR32 Register or unregister a DLLREGINI Change Registry Permissions~ REMRecord comments (remarks) in a batch file~ RENRename a file or files.REPLACEReplace or update one file with another~ RD Delete folder(s)RMTSHARE Share a folder or a printerROBOCOPY Robust File and Folder CopyROUTEManipulate network routing tablesRUNASExecute a program under a different user accountRUNDLL32 Run a DLL command (add/remove print connections) sSC Service ControlSCHTASKS Create or Edit Scheduled TasksSCLIST Display NT Services~ SETDisplay, set, or remove environment variables~ SETLOCAL Control the visibility of environment variablesSETX Set environment variables permanentlySHAREList or edit a file share or print share~ SHIFTShift the position of replaceable parameters in a batch fileSHORTCUT Create a windows shortcut (.LNK file)SHOWGRPS List the NT Workgroups a user has joinedSHOWMBRS List the Users who are members of a WorkgroupSHUTDOWN Shutdown the computerSLEEPWait for x secondsSOON Schedule a command to run in the near futureSORT Sort input 4. ~ STARTStart a program or command in a separate window.SU Switch UserSUBINACL Edit file and folder Permissions, Ownership and DomainSUBSTAssociate a path with a drive letterSYSTEMINFO List system configuration tTASKLIST List running applications and servicesTASKKILL Remove a running process from memory~ TIME Display or set the system timeTIMEOUTDelay processing of a batch file~ TITLESet the window title for a CMD.EXE sessionTLISTTask list with full pathTOUCHChange file timestampsTRACERTTrace route to a remote hostTREE Graphical display of folder structure~ TYPE Display the contents of a text file u USRSTAT List domain usernames and last login v~ VERDisplay version information~ VERIFY Verify that files have been saved~ VOLDisplay a disk label w WHERE Locate and display files in a directory tree WHOAMIOutput the current UserName and domain WINDIFF Compare the contents of two files or sets of files WINMSDWindows system diagnostics WINMSDP Windows system diagnostics II WMICWMI Commands x XCACLSChange file permissions XCOPY Copy files and folders