Tip & How-To about Computers & Internet

Some of the important cmd prompt commands

Copy and keep it handy..


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

BOOTCFG --Edit Windows boot settings
BROWSTAT --Get domain, browser and PDC info

CACLS -- Change file permissions
CALL --Call one batch program from another
CD --Change Directory - move to a specific Folder
CHANGE-- Change Terminal Server Session properties
CHKDSK -- Check Disk - check and repair disk problems
CHKNTFS -- Check the NTFS file system
CHOICE --Accept keyboard input to a batch file
CIPHER --Encrypt or Decrypt files/folders
CleanMgr ---Automated cleanup of Temp files, recycle bin
CLEARMEM ---Clear memory leaks
CLIP ---Copy STDIN to the Windows clipboard.
CLS ---Clear the screen
CLUSTER ---Windows Clustering
CMD ---Start a new CMD shell
COLOR --- Change colors of the CMD window
COMP ---Compare the contents of two files or sets of files
COMPACT --- Compress files or folders on an NTFS partition
COMPRESS ---Compress individual files on an NTFS partition
CON2PRT ---Connect or disconnect a Printer
CONVERT ---Convert a FAT drive to NTFS.
COPY ---Copy one or more files to another location
CSCcmd ---Client-side caching (Offline Files)
CSVDE ---Import or Export Active Directory data

DATE --- Display or set the date
Dcomcnfg DCOM ---Configuration Utility
DEFRAG ---Defragment hard drive
DEL ---Delete one or more files
DELPROF--- Delete NT user profiles
DELTREE ---Delete a folder and all subfolders
DevCon ---Device Manager Command Line Utility
DIR ---Display a list of files and folders
DIRUSE --- Display disk usage
DISKCOMP--- Compare the contents of two floppy disks
DISKCOPY ---Copy the contents of one floppy disk to another
DNSSTAT ---DNS Statistics
DOSKEY --- Edit command line, recall commands, and create macros
DSADD ---Add user (computer, group..) to active directory
DSQUERY--- List items in active directory
DSMOD ---Modify user (computer, group..) in active directory

ECHO--- Display message on screen
ENDLOCAL--- End localisation of environment changes in a batch file
ERASE ---Delete one or more files
EXIT ---Quit the current script/routine and set an errorlevel.
EXPAND --- Uncompress files
EXTRACT--- Uncompress CAB files

FC--- Compare two files
FDISK--- Disk Format and partition
FIND ---Search for a text string in a file
FINDSTR--- Search for strings in files
FOR /F ---Loop command: against a set of files
FOR /F ---Loop command: against the results of another command
FOR ---Loop command: all options Files, Directory, List
FORFILES ---Batch process multiple files
FORMAT ---Format a disk
FREEDISK ---Check free disk space (in bytes)
FSUTIL --- File and Volume utilities
FTP --- File Transfer Protocol
FTYPE--- Display or modify file types used in file extension associations

GLOBAL --- Display membership of global groups
GOTO ---Direct a batch program to jump to a labelled line

HELP--- Online Help
HFNETCHK--- Network Security Hotfix Checker

IF--- Conditionally perform a command
IFMEMBER Is the current user in an NT Workgroup
IPCONFIG Configure IP

KILL Remove a program from memory

LABEL --- Edit a disk label
LOCAL --- Display membership of local groups
LOGEVENT--- Write text to the NT event viewer.
LOGOFF --- Log a user off
LOGTIME --- Log the date and time in a file

MAPISEND ---Send email from the command line
MEM --- Display memory usage
MD --- Create new folders
MKLINK --- Create a symbolic link (linkd)
MODE ---Configure a system device
MORE --- Display output, one screen at a time
MOUNTVOL ----Manage a volume mount point
MOVE --- Move files from one folder to another
MOVEUSER--- Move a user from one domain to another
MSG ---Send a message
MSIEXEC --- Microsoft Windows Installer
MSINFO ---Windows NT diagnostics
MSTSC --- Terminal Server Connection (Remote Desktop Protocol)
MUNGE --- Find and Replace text within file(s)
MV --- Copy in-use files

NET --- Manage network resources
NETDOM --- Domain Manager
NETSH ---Configure network protocols
NETSVC ---Command-line Service Controller
NBTSTAT --- Display networking statistics (NetBIOS over TCP/IP)
NETSTAT --- Display networking statistics (TCP/IP)
NOW --- Display the current Date and Time
NSLOOKUP--- Name server lookup
NTBACKUP ---Backup folders to tape
NTRIGHTS E---dit user account rights

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 --- Search file(s) for lines that match a given pattern.

RASDIAL ---Manage RAS connections
RASPHONE ---Manage RAS connections
RECOVER --- Recover a damaged file from a defective disk.
REG --- Registry: Read, Set, Export, Delete keys and values
REGEDIT --- Import or export registry settings
REGSVR32--- Register or unregister a DLL
REGINI ---Change Registry Permissions
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) [remove dir]
RDISK ---Create a Recovery Disk
RMTSHARE ---Share a folder or a printer
ROBOCOPY--- Robust File and Folder Copy
ROUTE --- Manipulate network routing tables
RUNAS --- Execute a program under a different user account
RUNDLL32--- Run a DLL command (add/remove print connections)

SC --- Service Control
SCHTASKS--- Create or Edit Scheduled Tasks
SCLIST --- Display NT Services
ScriptIt Control ---GUI applications
SET --- Display, set, or remove environment variables
SETLOCAL--- Control the visibility of environment variables
SETX ---Set environment variables permanently
SHARE --- List or edit a file share or print 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
SLEEP --- Wait for x seconds
SOON --- Schedule a command to run in the near future
SORT --- Sort input
START --- Start a separate window to run a specified program or command
SU ---Switch User
SUBINACL ---Edit file and folder Permissions, Ownership and Domain
SUBST --- Associate a path with a drive letter
SYSTEMINFO--- List system configuration
TASKLIST--- List running applications and services
TIME ---Display or set the system time
TIMEOUT--- Delay processing of a batch file
TITLE --- Set the window title for a CMD.EXE session
TOUCH --- Change file timestamps
TRACERT --- Trace route to a remote host
TREE --- Graphical display of folder structure
TYPE --- Display the contents of a text file
USRSTAT--- List domain usernames and last login
VER ---Display version information
VERIFY --- Verify that files have been saved
VOL --- Display a disk label
WHERE --- Locate and display files in a directory tree
WHOAMI --- Output the current UserName and domain
WINDIFF --- Compare the contents of two files or sets of files
WINMSD --- Windows system diagnostics
WINMSDP--- Windows system diagnostics II
WMIC ---WMI Commands
XCACLS --- Change file permissions
XCOPY--- Copy files and folders

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

1 Answer

How Do I Enable or Disable Traps of a Module?


In V100R005 and later versions:
Run the snmp-agent trap enable feature-name feature-name trap-name trap-name command in the system view to enable a trap of a specified module.
Run the undo snmp-agent trap enable feature-name feature-name trap-name trap-name command in the system view to disable a trap of a specified module.
For example, to enable the hwethernetarpipconflictevent trap of the Address Resolution Protocol (ARP) module, run the following commands:
<HUAWEI> system-view [HUAWEI]<strong> snmp-agent trap enable feature-name arp trap-name hwethernetarpipconflictevent </strong> For example, to disable the hwethernetarpipconflictevent trap of the Address Resolution Protocol (ARP) module, run the following commands:
<HUAWEI><strong> system-view </strong> [HUAWEI]<strong> undo snmp-agent trap enable feature-name arp trap-name hwethernetarpipconflictevent </strong> S2300 Switch Thunder link com

Nov 10, 2016 | Computers & Internet

3 Answers

how do I add an email address to "other contacts" in my gmail contacts?


That probably depends upon the 3rd party. You MIGHT try exporting your contacts list (as a .csv, or Comma Separated Values, file). You can then open that file with Excel or OpenOffice Spreadsheet and change it around however you like. Your 3rd party software may be able to import the .csv file, or you may be able to reimport it into gMail and have it automatically rearrange your contacts.

Aug 03, 2014 | Google Gmail

1 Answer

when i open my internet it scroll very slow so i open my LAN connection using Realtek RTL8168D(P)/8111D(P)PCI-EGigabit Ethernet NIC and open its'properties and click the box repair and suddenly a message appear from Repair Local Area Connection: Windows could not finish repairing the problem because the following action cannot be completed: Clearing the ARP cache. For assistance,contact the person who manages your network.Could you please help me solve this problem i want to do anything on my PC in order to prevent from adding deeper problem. Thank you.


Hi

The Address Resolution Protocol (ARP) is very crucial for TCP/IP network communication. If you begin to notice network connectivity problems such as particular web pages not loading or not being able to ping certain IP addresses then clearing your ARP cache is a good place to start.The TCP/IP ARP Command component provides the functionality to add, delete, or display the IP address for Media Access Control (MAC) address translation.

To flush/Delete the ARP cache in windows 7/Vista/XP/2000/Server 2003/2008 follow this procedure
Click on Start->Run-> type the following command click ok
netsh interface ip delete arpcache
Dynamic ARP cache entries update persist for 2-20 minutes depending on the system.
Windows 2003 Server = 10 minutes
Windows 2000 professional/Server = 10 minutes
Windows XP = 2 minutes
Solaris = 5 minutes
Delete IP address using arp command
arp -d <ip address>
Example
arp -d 10.1.1.2
Display arp table
arp -a
Add static entry to ARP table
arp -s <ip address> <mac address>
Example
arp -s 157.55.85.212 00-aa-00-62-c6-09

Jun 21, 2011 | Nvidia Computers & Internet

1 Answer

Want to import email addresses into MS Outlook


Hey! follow the steps to get your job done


You can import address book contacts from other Microsoft Windows® Address Book files (.wab), as well as from Netscape Communicator, Microsoft Exchange Personal Address Book, or any text (.csv) file.
For Windows Address Book 1.
On the File menu, point to Import, and then click Address Book.
2.
Select the address book or file type you want to import, and then click Open.

For All Other Address Book Formats 1.
On the File menu, point to Import, and then click Other Address Book.
2.
Click the address book or file type you want to import, and then click Open.

If your address book is not listed, you can export it to either a text (.csv) file or a Lightweight Directory Access Protocol (LDAP) or Lightweight Directory Interchange Format (LDIF) file, and then import it using that file type.



Good luck :-)

May 27, 2010 | Microsoft Windows XP Home Edition

1 Answer

need to add employee e-mail address to xerox 440st so we don't have to type it in each tme



NOTE: Accessing the Public Address Book is optional. The Document Centre will accept a Public Address Book file that contains a list of user names and their E-mail addresses. This file must be Comma Separated Values (CSV) format for the device to be able to read the file contents. The majority of word processing packages will allow you to create a CSV file. A selection of e-mail applications will also allow you to export a list of users in the CSV file format.

The completed CSV file is imported to the device through CentreWare Internet Services. The file must have the .CSV file extension. A valid CSV file format includes the name and SMTP e-mail address. The CSV file should be created so that the Names are in one column and the E-mail addresses are in the next column. For example, the following are both valid format CSV file entries:

Smith, Smith@company.com
Smith, John - john.smith@company.com

The order in which entries are displayed in the Public Address Book at the Document Centre will depend on how the entries are sorted in the CSV file.

NOTE: This solution assumes Microsoft Internet Explorer is being used as the web browser. Other web browsers may vary. You may need to contact your System Administrator to perform this solution, as it requires knowledge of the network’s email system. Configuration of the LDAP directory settings requires the network to support LDAP Services.

The Document Centre will have to be configured for TCP/IP (IP Address, Subnet Mask, Broadcast Address, Gateway Address). Before you begin, print a Configuration Report and make sure the Document Centre has an IP address and the HTTP protocol is enabled.

From the workstation desktop:
  1. Click on [Start], point to [Programs], and select [Internet Explorer] to launch Internet Explorer.
  2. Click on [File] from the toolbar, then select [Open]. The Open window will be displayed.
  3. Enter the IP address for the Document Centre in the Address: field, then press [Enter] on your keyboard. CentreWare Internet Services window will be displayed.
  4. Click on [Index] in the upper, right corner of Internet Services. The Index window will be displayed with a list of hyperlinks to different areas of Internet Services.
  5. Click on [Public Address Book ] from the list of hyperlinks. The Public Address Book Settings window will be displayed.
  6. Click [Browse]. The Choose File window will be displayed.
  7. Browse to the location of your Address Book File (*.CSV).
  8. Highlight the CSV file and click on [Open]. The path for your .CSV file will be displayed in the Address Book File (*.CSV) field.
  9. Click on [Import Now]. An 'Are you sure you want to overwrite the existing Address Book? This cannot be undone' message may be displayed. Click [OK] to import the address book.

    NOTE: You cannot import a .CSV file with a blank name or e-mail field.

  10. An Enter Network Password window may be displayed. In the User Name: field, enter the system login of admin, in lower case letters. In the Password: field, enter the system password, then click [OK].

    NOTE: If you do not know the system password, contact your administrator. The initial system password at machine install is 1111 for the Document Centre 460|470|480|490, and 22222 for the Document Centre 425|430|432|440. If the administrator encounters a problem with changing or forgetting the machine password, a service call must be placed.

  11. Click on [Map Existing Address Book] to identify which headings in the CSV file contain the name and e-mail address to use in the Public Address Book.

    NOTE: If the CSV file contains names and e-mail addresses only, the file may map automatically.

  12. Click on the [Display Name] drop-down menu under the Imported heading. Select the heading that corresponds to the data you wish to use as the display name in the address book. The data you selected will be displayed in the Imported Sample field.
  13. Click on the [E-mail Address] drop-down menu. Select the heading that corresponds to the data you wish to use as the e-mail address in the address book. The data you selected will be displayed in the Imported Sample field.

    NOTE: If you are using a DC460|470|480|490, and if the CSV file does not contain a heading row, the drop-down menu will contain information from the first line of data in the file. For correct Public Address operation, the display name must map to a user name and the e-mail address must map to an SMTP format e-mail address, for example, name@domain.com.

    If you are using a DC425|430|432|440 and if your CSV file does not contain a heading row, the first row of data will be lost.

  14. Click on [Apply New Settings] to save any changes.

    NOTE: If you click on the [Clear All Addresses] button all entries will be removed from the current public address book.

  15. Click on the [X] in the upper, right corner to close Internet Explorer and return to the desktop.

Sep 23, 2008 | Xerox Office Equipment & Supplies

Not finding what you are looking for?

295 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...