Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Tuesday, July 22, 2008

Windows commands

addusers- Automate the creation of a large number of users
arp- Display and modify the IP-to-Physical address translation tables used by address resolution protocol
assoc- Display or change the association between a file extension and a fileType
associate- One step file association
at- Schedule a batch file to run on a computer at a specific date and time
attrib- Display or change file attributes. Find Filenames
browstat- Get domain, browser and PDC info
cacls- Display or modify Access Control Lists (ACLs) for files and folders
call- Call one batch program from another
cd- Change Directory - Select a Folder (and drive)
change- Change Terminal Server Session properties
chkdsk- Check Disk - check and repair disk problems
chkntfs- Check the NTFS file system with CHKDSK
choice- user input to a batch file
cipher- Encrypt or Decrypt files and folders
cleanmgr- Automated cleanup of Temp files, Internet files, downloaded files, recycle bin (XP)
clip- Copy the result of any command to the Windows clipboard
cmd- Start a new CMD shell
color- Sets the default console foreground and background colours
comp- Compare two files (or sets of files)
con2prt- Add a network printer to the Control Panel
copy- Copy one or more files to another location
date- Display or change the date
defrag- Defragment hard drive
del- Delete one or more files
delprof- Delete NT user profiles
dir- Display a list of files and subfolders
diruse- Display disk usage
diskcomp- Compare the content of two floppy disks
diskcopy- Copy the content of one floppy disk to another
doskey- Recall and edit commands at the DOS prompt, and create macros
dsadd- Add active directory object
dsmod- Modify active directory object
echo- Display messages on screen, turn command-echoing on or off
endlocal- End localisation of environment changes in a batch file
exit- Quit CMD.EXE or the current batch script
expand- Uncompress one or more compressed files
expand- Uncompress one or more compressed files
fc- Compare the contents of two files or sets of files. Display any lines which do NOT match
fdisk- FDisk utility is no longer supplied with recent windows operating systems
find- Search for a text string in a file & display all the lines where it is found
findstr- Search for strings in files
for- Conditionally perform a command several times
forfiles- Batch process multiple files
format- Format a disk for use with Windows NT
fsutil- File and Volume commands, Hardlink management, Quota management, USN, Sparse file, Object ID and Reparse point management
ftp- File Transfer Protocol
ftype- Display or change the link between a FileType and an executable program
global- Display membership of global groups on remote servers or remote domains
goto- Direct a batch program to jump to a labelled line
help- Online help for MS Windows
hfnetchk- Network Security Hotfix Checker
if- Conditionally perform a command
ifmember- Count the NT Workgroups that the current user is a member of
ipconfig- Configure IP
kill- Remove a running process from memory
label- Edit a disk label
ldifde- Import or Export Active Directory data to a file
local- Display membership of local groups on remote servers or remote domains
logevent- Write text to the event log (event viewer)
logoff- Log a user off
logtime- Create logtime.txt and adds the date, time and a message
mapisend- Send email from the command line
md- Make Directory - Creates a new folder
mem- Display memory usage
mode- MODE displays the status of all devices installed on your system
monitor- Control Performance Monitor logging from the command line
more- Display output one screen at a time
mountvol- Create, delete or list a volume mount point
move- Move a file from one folder to another
moveuser- Move a user account into a domain or edit an NT username
msg- Send a pop-up message to a user
msiexec- Microsoft Windows Installer
msinfo32- Windows NT diagnostics
mstsc- Terminal Server Connection (Remote Desktop Protocol)
munge- Find and Replace text within file(s)
mv- Move File - Copy a file to another location even if the file is in use (Locked)
nbtstat- Display protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP)
net- The NET Command is used to manage network resources
netdom- Domain Manager - a whole bag of network management tools in one tool
netsh- Configure interfaces, routing protocols, filters, routes
netstat- Display current TCP/IP network connections and protocol statistics
netsvc- Command-line Service Controller. Start, Stop and Query services
now- Display Message with current Date and Time
nslookup- Lookup IP addresses on a NameServer
ntbackup- Backup drives / folders to tape
ntrights- Edit user account Privileges
path- Display or set a search path for executable files
pathping- Trace route and provide network latency and packet loss for each router and link in the path.
pause- Pause the execution of a batch file
perms- Display a user’s ACL access permissions for a file
ping- Test a network connection - Ping returns the ip address if successful
popd- Change directory back to the path/folder most recently stored
portqry- Port Query
print- Print a file or files to a local or network printer
prncnfg- Display, configure or rename a printer
prnmngr- Display, add, remove or set default printer
prompt- Change the cmd.exe command prompt
pushd- Change the current directory/folder and store the previous folder/path
qgrep- Search file(s) for lines that match a given pattern
rasdial- Manage RAS/DUN connections
rasphone- Manage Remote Access Service (RAS) connections
rd- Delete folder(s)
rdisk- Create a Recovery Disk
recover- Recover a damaged file from a defective disk
reg- Read, Set or Delete registry keys and values
regedit- Import, export or delete registry settings
regsvr32- Register or unregister a DLL
rem- REM signifies a comment or REMARK
ren- Rename a file or files
replace- Replace or update one file with another
rmtshare- Manage File and Printer shares, local or on a remote server
robocopy- Robust File and Folder Copy
route- Manipulate network routing tables
runas- Execute a program under a different user account
rundll32- Run a DLL program
sc- Service Control - Create, Start, Stop, Query or Delete any Windows SERVICE
schtasks- Create, delete, edit, list, start or stop a scheduled task
sclist- Display NT Services
scriptit- Control GUI applications - feed values into dialogue boxes, press OK etc
set- Display, set, or remove CMD environment variables
setlocal- Begin localisation of environment variables in a batch file
setx- Set environment variables permanently
share- List or edit a file share or print share
shift- Change the position of command line parameters in a batch file
shortcut- Create a windows shortcut (.LNK file)
showgrps- List the NT Workgroups a user is in
showmbrs- List the Workgroups a user is in
shutdown- Shutdown the computer
sleep- Add a fixed delay to a batch file
soon- Schedule a command to run in the near future
sort- Sort will accept a redirected or piped file input and TYPE the file, sorted line by line.
start- Start a specified program or command in a separate window
su- Switch User
subinacl- Display or modify Access Control Entries (ACEs) for file and folder Permissions, Ownership and Domain.
subst- Substitute a drive letter for a network or local path
tasklist- TaskList displays all running applications and services
time- Display or set the system time
timeout- Delay execution of a batch file.
title- Change the title displayed above the CMD window
touch- Change file timestamps
tracert- Trace Route - Find the IP address of any remote host
type- Display the contents of a text file or files
ver- Display the current operating system version
verify- To check that files are saved to disk correctly ; the system can re-read the disk when saving and verify (compare) with the data in memory
vol- Display the volume label of a disk
where- Locate and display files in a directory tree.
whoami- Displays the username and domain for the currently logged in user
windiff- Compare the contents of two files or sets of files with a graphical interface.
winmsd- Microsoft Windows diagnostics
winmsdp- Windows NT diagnostics II Reports: Memory use, Services, Devices, IRQ's Ports, Environment variables, Network (rights, transport, stats), Hardware including Display adapter.
wmic- Windows Management Instrumentation Command
xcacls- Display or modify Access Control Lists (ACLs) for files and folders
xcopy- Copy files and/or directory trees to another folder

No comments: