Windows XP command line

Published on February 2017 | Categories: Documents | Downloads: 53 | Comments: 0 | Views: 328
of 4
Download PDF   Embed   Report

Comments

Content

Windows XP command line
a ADDUSERS ARP ~ ASSOC ASSOCIAT AT ATTRIB Add or list users to/from a CSV file Address Resolution Protocol Change file extension associations One step file association Schedule a command to run at a later time Change file attributes

b c

BOOTCFG Edit Windows boot settings BROWSTAT Get domain, browser and PDC info CACLS ~ CALL ~ CD CHANGE CHKDSK CHKNTFS CHOICE CIPHER CleanMgr CLEARMEM CLIP ~ CLS CLUSTER CMD ~ COLOR COMP COMPACT COMPRESS CON2PRT CONVERT ~ COPY CSCcmd CSVDE ~ DATE Dcomcnfg DEFRAG ~ DEL DELPROF DELTREE DevCon ~ DIR DIRUSE DISKCOMP DISKCOPY DISKPART DNSSTAT DOSKEY DSADD DSQUERY DSMOD ~ ~ ~ ~ ECHO ENDLOCAL ERASE EXIT 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 Display or set the date DCOM Configuration Utility 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 Add user (computer, group..) to active directory List items in active directory Modify user (computer, group..) in active directory Display message on screen End localisation of environment changes in a batch file Delete one or more files Quit the current script/routine and set an errorlevel.
[email protected]

d

e

| Confidential

EXPAND EXTRACT f FC FIND FINDSTR FOR /F FOR /F FOR FORFILES FORMAT FREEDISK FSUTIL FTP FTYPE

Uncompress files Uncompress CAB files 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 Display membership of global groups Direct a batch program to jump to a labelled line Online Help

~ ~ ~

g h i

~

GLOBAL ~ GOTO HELP

~ IF Conditionally perform a command IFMEMBER Is the current user in an NT Workgroup IPCONFIG Configure IP KILL LABEL LOCAL LOGEVENT LOGOFF LOGTIME MAPISEND MBSAcli MEM ~ MD MKLINK MODE MORE MOUNTVOL ~ MOVE MOVEUSER MSG MSIEXEC MSINFO MSTSC MUNGE MV NET NETDOM NETSH NETSVC NBTSTAT NETSTAT NOW NSLOOKUP NTBACKUP NTRIGHTS Remove a program from memory 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 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) Find and Replace text within file(s) Copy in-use files Manage network resources Domain Manager Configure network protocols 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
[email protected]

k l

m

n

p

| Confidential

q r

~ PATH Display or set a search path for executable files PATHPING Trace route plus network latency and packet loss ~ PAUSE Suspend processing of a batch file and display a message PERMS Show permissions for a user PERFMON Performance Monitor PING Test a network connection ~ POPD Restore the previous value of the current directory saved by PUSHD PORTQRY Display the status of ports and services PRINT Print a text file PRNCNFG Display, configure or rename a printer PRNMNGR Add, delete, list printers set the default printer ~ PROMPT Change the command prompt PsExec Execute process remotely PsFile Show files opened remotely PsGetSid Display the SID of a computer or a user PsInfo List information about a system PsKill Kill processes by name or process ID PsList List detailed information about processes PsLoggedOn Who's logged on (locally or via resource sharing) PsLogList Event log records PsPasswd Change account password PsService View and control services PsShutdown Shutdown or reboot a computer PsSuspend Suspend processes ~ PUSHD Save and then change the current directory QGREP RASDIAL RASPHONE RECOVER REG REGEDIT REGSVR32 REGINI ~ REM ~ REN REPLACE ~ RD RMTSHARE ROBOCOPY ROUTE RUNAS RUNDLL32 Search file(s) for lines that match a given pattern. Manage RAS connections Manage RAS connections Recover a damaged file from a defective disk. Registry: Read, Set, Export, Delete keys and values Import or export registry settings Register or unregister a DLL Change Registry Permissions Record comments (remarks) in a batch file Rename a file or files. Replace or update one file with another Delete folder(s) 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) Service Control Create or Edit Scheduled Tasks Display NT Services Display, set, or remove environment variables Control the visibility of environment variables Set environment variables permanently List or edit a file share or print share Shift the position of replaceable parameters in a batch file Create a windows shortcut (.LNK file) List the NT Workgroups a user has joined List the Users who are members of a Workgroup Shutdown the computer Wait for x seconds Schedule a command to run in the near future Sort input Start a program or command in a separate window.
[email protected]

s

~ ~ ~

~

SC SCHTASKS SCLIST SET SETLOCAL SETX SHARE SHIFT SHORTCUT SHOWGRPS SHOWMBRS SHUTDOWN SLEEP SOON SORT START

| Confidential

SU Switch User SUBINACL Edit file and folder Permissions, Ownership and Domain SUBST Associate a path with a drive letter SYSTEMINFO List system configuration t TASKLIST TASKKILL ~ TIME TIMEOUT ~ TITLE TLIST TOUCH TRACERT TREE ~ TYPE USRSTAT ~ VER ~ VERIFY ~ VOL WHERE WHOAMI WINDIFF WINMSD WINMSDP WMIC x XCACLS XCOPY ~ :: 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 List domain usernames and last login Display version information Verify that files have been saved Display a disk label 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 Change file permissions Copy files and folders Comment / Remark

u v

w

Commands marked ~ are Internal commands only available within the CMD shell. All other commands (NOT marked with ~) are external commands which may be used under the CMD shell, PowerShell, or directly from START-RUN. Microsoft Help pages: Windows XP - 2003 Server - 2008 Server Discussion forum Links to other Sites, books etc...

[email protected]

| Confidential

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close