Command Prompt

Command Prompt



How to open Command Prompt ?

START=> TYPE"cmd.exe" nad then ENTER

OR


windows Key + R key (run)=>TYPE"cmd.exe" nad then ENTER



1.Breaking of password:

You can change the password without knowing old password.
suppose your friend is using password to protect his/her PC.just wait him/her to login
once if he/she login to the windows you can change password
(win7 users have to run cmd as administrator to perform this task)


command: net user name of account *
hit enter two times to remove password
or enter password twice to set new password

2.To find IP of any website:

If you are writing www.google.com in address bar but you can also fill IP of google in address bar
(It is helpfull if only names are blocked by college or school firewall)
Open cmd,type


command :tracert www.google.com
select the first IP and insert it into address bar to view google page.


3.To find comming and going IP’s from your system

(you can find IP of person if he is connected to your IP)


command is : netstat -n



4.To ping the target

some networks need continuous ping to work properly


command is : ping www.google.com -t



5.To view all accounts in system:


command is: net user



6.To view all info of your system such as:

Installation of OS
windows version
processor
company of laptop
network cards
Time zone
windows directory and much more


command is : systeminfo


7. To find IP of your system


command is: ipconfig

8.To hide text behind photo


You need a jpg photo and text document
commands are : cd desktop hit enter type: copy /b image.jpg+text.txt

hit enter
you have done it.


9.The append command can be used by programs to open files in another directory as if they were located in the current directory.

command is : Append




10.The arp command is used to display or change entries in the ARP cache.

command is :Arp




11.The assoc command is used to display or change the file type associated with a particular file extension.

command is : Assoc




12.The at command is used to schedule commands and other programs to run at a specific date and time.

command is : At




13.The attrib command is used to change the attributes of a single file or a directory.

command is : Attrib




14.The auditpol command is used to display or change audit policies.

command is : Auditpol




15.The bcdedit command is used to view or make changes to Boot Configuration Data.

command is : Bcdedit




16.The bitsadmin command is used to create, manage, and monitor download and upload jobs.

command is : Bitsadmin




17.The bootcfg command is used to build, modify, or view the contents of the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located.

command is : Bootcfg




18.The break command sets or clears extended CTRL+C checking on DOS systems.

command is : Break




19.The cacls command is used to display or change access control lists of files.

command is : Cacls




20.The call command is used to run a script or batch program from within another script or batch program.

command is : Call




21.The certreq command is used to perform various certification authority (CA) certificate functions.

command is : Certreq




22.The certutil command is used to dump and display certification authority (CA) configuration information in addition to other CA functions.

command is : Certutil




23.The change command changes various terminal server settings like install modes, COM port mappings, and logons.

command is : Change




24.The chcp command displays or configures the active code page number.

command is : Chcp




25.The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in.

command is : Chdir




26.The chglogon command enables, disables, or drains terminal server session logins.

command is : Chglogon




27.The chgport command can be used to display or change COM port mappings for DOS compatibility.

command is : Chgport




28.The chgusr command is used to change the install mode for the terminal server.

command is : Chgusr




29.The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors.

command is : Chkdsk




30.The chkntfs command is used to configure or display the checking of the disk drive during the Windows boot process.

command is : Chkntfs




31.The choice command is used within a script or batch program to provide a list of choices and return of the value of that choice to the program.

command is : Choice




32.The cipher command shows or changes the encryption status of files and folders on NTFS partitions.

command is : Cipher




33.The clip command is used to redirect the output from any command to the clipboard in Windows.

command is : Clip




34.The cls command clears the screen of all previously entered commands and other text.

command is : Cls




35.The cmd command starts a new instance of the command interpreter.

command is : Cmd




36.The cmdkey command is used to show, create, and remove stored user names and passwords.

command is : Cmdkey




37.The cmstp command installs or uninstalls a Connection Manager service profile.

command is : Cmstp




38.The color command is used to change the colors of the text and background within the Command Prompt window.

command is : Color




39.The comp command is used to compare the contents of two files or sets of files.

command is : Comp




40.The compact command is used to show or change the compression state of files and directories on NTFS partitions.

command is : Compact




41.The convert command is used to convert FAT or FAT32 formatted volumes to the NTFS format.

command is : Convert




42.The copy command does simply that - it copies one or more files from one location to another.

command is : Copy




43.The date command is used to show or change the current date.

command is : Date




44.The debug command starts Debug, a command line application used to test and edit programs.

command is : Debug




45.The defrag command is used to defragment a drive you specify. The defrag command is the command line version of Microsoft's Disk Defragmenter.

command is : Defrag




46.The del command is used to delete one or more files. The del command is the same as the erase command.

command is : Del




47.The dir command is used to display a list of files and folders contained inside the folder that you are currently working in. The dir command also displays other important information like the hard drive's serial number, the total number of files listed, their combined size, the total amount of free space left on the drive, and more.

command is : Dir




48.The diskcomp command is used to compare the contents of two floppy disks.

command is : Diskcomp




49.The diskcopy command is used to copy the entire contents of one floppy disk to another.

command is : Diskcopy




50.The diskpart command is used to create, manage, and delete hard drive partitions.

command is : Diskpart




51.The diskraid command starts the DiskRAID tool which is used to manage and configure RAID arrays.

command is : Diskraid




52.The dism command starts the Deployment Image Servicing and Management tool (DISM). The DISM tool is used to manage features in Windows images.

command is : Dism




53.The dispdiag command is used to output a log of information about the display system.

command is : Dispdiag




54.The doskey command is used to edit command lines, create macros, and recall previously entered commands.

command is : Doskey




55.The driverquery command is used to show a list of all installed drivers.

command is : Driverquery




56.The echo command is used to show messages, most commonly from within script or batch files. The echo command can also be used to turn the echoing feature on or off.

command is : Echo




57.The edit command starts the MS-DOS Editor tool which is used to create and modify text files.

command is : Edit




58.The edlin command starts the Edlin tool which is used to create and modify text files from the command line.

command is : Edlin




59.The endlocal command is used to end the localization of environment changes inside a batch or script file.

command is : Endlocal




60.The erase command is used to delete one or more files. The erase command is the same as the del command.

command is : Erase




61.The eventcreate command is used to create a custom event in an event log.

command is : Eventcreate




62.The exe2bin command is used to convert a file of the EXE file type (executable file) to a binary file.

command is : Exe2bin




63.The exit command is used to end the Command Prompt session that you're currently working in.

command is : Exit




64.The expand command is used to extract a single file or a group of files from a compressed file.

command is : Expand




65.The fastopen command is used to add a program's hard drive location to a special list stored in memory, potentially improving the program's launch time by removing the need for MS-DOS to locate the application on the drive.

command is : Fastopen




66.The fc command is used to compare two individual or sets of files and then show the differences between them.

command is : Fc




67.The find command is used to search for a specified text string in one or more files.

command is : Find




68.The findstr command is used to find text string patterns in one or more files.

command is : Findstr




69. The finger command is used to return information about one or more users on a remote computer that's running the Finger service.

command is : Finger




70.The for command is used to run a specified command for each file in a set of files. The for command is most often used within a batch or script file.

command is : For




71.The forfiles command selects one or more files to execute a specified command on. The forfiles command is most often used within a batch or script file.

command is : Forfiles




72.The format command is used to format a drive in the file system that you specify.

command is : Format




73.The fsutil command is used to perform various FAT and NTFS file system tasks like managing reparse points and sparse files, dismounting a volume, and extending a volume.

command is : Fsutil




74.The ftp command can used to transfer files to and from another computer. The remote computer must be operating as an FTP server.

command is : Ftp




75.The ftype command is used to define a default program to open a specified file type.

command is : Ftype




76.The getmac command is used to display the media access control (MAC) address of all the network controllers on a system.

command is : Getmac




77.The goto command is used in a batch or script file to direct the command process to a labeled line in the script.

command is : Goto




78.The gpresult command is used to display Group Policy settings.

command is : Gpresult




79.The gpupdate command is used to update Group Policy settings.

command is : Gpupdate




80.The graftabl command is used to enable the ability of Windows to display an extended character set in graphics mode.

command is : Graftabl




81.The graphics command is used to load a program that can print graphics.

command is : Graphics




82.The help command provides more detailed information on any of the other Command Prompt commands.

command is : Help




83.The hostname command displays the name of the current host.

command is : Hostname




84.The icacls command is used to display or change access control lists of files. The icacls command is an updated version of the cacls command.

command is : Icacls




85.The if command is used to perform conditional functions in a batch file.

command is : If




86.The ipconfig command is used to display detailed IP information for each network adapter utilizing TCP/IP. The ipconfig command can also be used to release and renew IP addresses on systems configured to receive them via a DHCP server.

command is : Ipconfig




87.The irftp command is used to transmit files over an infrared link.

command is : Irftp




88.The iscsicli command starts the Microsoft iSCSI Initiator, used to manage iSCSI.

command is : Iscsicli




89.The label command is used to manage the volume label of a disk.

command is : Label




90.The loadfix command is used to load the specified program in the first 64K of memory and then runs the program.

command is : Loadfix




91.The lodctr command is used to update registry values related to performance counters.

command is : Lodctr




92.The logman command is used to create and manage Event Trace Session and Performance logs. The logman command also supports many functions of Performance Monitor.

command is : Logman




93.The logoff command is used to terminate a session.

command is : Logoff




94.The mem command shows information about used and free memory areas and programs that are currently loaded into memory in the MS-DOS subsystem.

command is : Mem




95.The mkdir command is used to create a new folder.

command is : Mkdir (Md)




96.The mklink command is used to create a symbolic link.

command is : Mklink




97.The mmc command can be used to open Microsoft Management Console in author mode or to a specific snap-in console, all from the Command Prompt.

command is : Mmc




98.The mode command is used to configure system devices, most often COM and LPT ports.

command is : Mode




99.The more command is used to display the information contained in a text file. The more command can also be used to paginate the results of any other Command Prompt command.

command is : More




100.The mountvol command is used to display, create, or remove volume mount points.

command is : Mountvol




101.The move command is used to move one or files from one folder to another. The move command is also used to rename directories.

command is : Move




102.The msg command is used to send a message to a user.

command is : Msg




103.The msiexec command is used to start Windows Installer, a tool used to install and configure software.

command is : Msiexec




104.Queries, displays, or disconnects open files or files opened by network users.

command is : Openfiles




105.Displays or sets a search path for executable files.

command is : Path




106.Suspends processing of a batch file and displays a message.

command is : Pause




107.Restores the previous value of the current directory saved by PUSHD.

command is : Popd




108.Prints a text file.

command is : Print




109.Changes the Windows command prompt.

command is : Prompt




110.Saves the current directory then changes it.

command is : Pushd




111.Removes a directory.

command is : Rd




112.Recovers readable information from a bad or defective disk.

command is : Recover




113.Designates comments (remarks) in batch files.

command is : Rem




114.Renames a file or files.

command is : Ren




115.Replaces files.

command is : Replace




116.Removes a directory.

command is :Rmdir




117.Advanced utility to copy files and directory trees.

command is : Robocopy




118.Displays, sets, or removes environment variables for current session.

command is : Set




119.Begins localization of environment changes in a batch file.

command is : Setlocal




120.Sets environment variables.

command is :Setx




121.Displays or configures services (background processes).

command is : Sc




121.Schedules commands and programs to run on a computer.

command is :Schtasks




122.Shifts the position of replaceable parameters in batch files.

command is : Shift




123.Allows proper local or remote shutdown of machine.

command is :Shutdown




124.Sorts input.

command is : Sort




125.Starts a separate window to run a specified program or command.

command is : Start




126.Associates a path with a drive letter.

command is : Subst




127.Displays machine specific properties and configuration.

command is : Systeminfo




128.Allows an administrator to take ownership of a file.

command is : Takeown




129.Displays all currently running tasks including services.

command is : Tasklist




130.Kill or stop a running process or application.

command is : Taskkill




131.Displays or sets the system time.

command is : Time




132.Pauses the command processor for the specified number of seconds.

command is : Timeout




133.Sets the window title for a CMD.EXE session.

command is : Title




134. - Graphically displays the directory structure of a drive or path.

command is : Tree




135.Displays the contents of a text file.

command is : Type




136.Displays the Windows version.

command is : ver




137.Tells Windows whether to verify that your files are written correctly to a disk.

command is : Verify




138.Displays a disk volume label and serial number.

command is : Vol




139.Volume Shadow Copy Service administration tool.

command is : Vssadmin




140.Displays the location of files that match a search pattern.

command is : Where




141.Copies files and directory trees.

command is : Xcopy




142.Displays WMI information inside interactive command shell.

command is : Wmic



No comments:

Post a Comment