Вы находитесь на странице: 1из 17

The Command Prompt in Windows 7 provides access to over 230 command line

commands! The commands available in Windows 7 are used to automate processes,


create batch files, and perform troubleshooting and diagnostic tasks.

Note: Many Windows 7 Command Prompt commands are similar to classic MS-DOS
commands. However, the Command Prompt is not MS-DOS and the commands
are not MS-DOS commands. If you are using MS-DOS, I do keep a list of DOS
commands.

Not a Windows 7 User? Here are lists detailing all available Windows 8
commands, Windows Vista commands, and Windows XP commands.

If you're interested in why a command was removed or when it was first available,
you can see every command from MS-DOS through Windows 8 in my list of
Command Prompt commands or skip the details and see it all in my one-page
table here.

Below is a complete list of commands, sometimes called CMD commands, available


from the Command Prompt in Windows 7:

append - ktmutil | label - tasklist | tcmsetup - xwizard

Append

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

The append command is not available in 64-bit versions of Windows 7.

Ads

ABBYY FlexiCapture 10www.abbyy.comAll-in-one data capture solution for any


industry and any volume!

Free Prophecy For YouYourPersonalProphecy.comGet God's Plan For You in 2013.


Receive Your Free Written Prophecy!

Miracle Prayer Requestswww.ChristianPrayerCenter.comNeed a Blessing?


Strongest Prayer Chain Online.

Arp

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

Assoc

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

The at command is used to schedule commands and other programs to run at a


specific date and time.

Attrib

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

Auditpol

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

Bcdboot

The bcdboot command is used to copy boot files to the system partition and to
create a new system BCD store.

Bcdedit

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

Ads

C Programming Tutorialswww.alison.com/CProgramming-DiplomaFree, Self-


Paced, Online Course Diploma Level Qualification

File System Driver SDKwww.eldos.com/CallbackFSCreate your own file system for


Windows in user mode

Bdehdcfg

The bdehdcfg command is used to prepare a hard drive for BitLocker Drive
Encryption.

Bitsadmin

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

While the bitsadmin command is available in Windows 7, you should know that it is
being phased out. The BITS PowerShell cmdlets should be used instead

Bootcfg

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.
The bootcfg command was replaced by the bcdedit command beginning in Windows
Vista. Bootcfg is still available in Windows 7 but it serves no real value since boot.ini
is not used.

Ads

Facebook - Official Sitewww.Facebook.comKumonekta sa Kaibigan, Kapamilya at


Kaklase. Gumawa ng Profile Ngayon!

Windows 2003 IDSwww.syspeace.comFree downloads for Windows Servers

C Programming Tutorialwww.alison.com/CProgramming-DiplomaFree,Self-
Paced,Online Course Excellent Diploma Qualification

Bootsect

The bootsect command is used to configure the master boot code to one compatible
with Windows 7 (BOOTMGR).

The bootsect command is only available from the Command Prompt in System
Recovery Options.

Break

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

The break command is available in Windows 7 to provide compatibility with MS-DOS


files but it has no effect in Windows 7 itself.

Cacls

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

Even though the cacls command is available in Windows 7, it's being phased out.
Microsoft recommends that you use the icacls command instead.

Call

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

The call command has no effect outside of a script or batch file. In other words,
running the call command at the Command Prompt will do nothing.

Cd

The Cd command is the shorthand version of the chdir command.

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

Certutil

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

Ads

Open NRE Savings Accountyesbanknriservices.co.inYES BANK announces High


Interest Rate of 7% p.a. Apply Now!

Create a Facebook ProfileFacebook.comWorld's Largest Online Community. Join


for Free & Enjoy the Benefits!

Change

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

Chcp

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

Chdir

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.

Ads

100% Free Cloud Storagewww.JustCloud.comStore Your Files in the Cloud. Access


Files Anywhere, Anytime.

Price List For Computerswww.hardwarezone.com.ph/Desktop-PCsCompare


Products Here. Prices & Products Updated Regularly

Extreme Gaming Packagewww.pcworx.ph/index.php?action=adsIntel Core i3


processor delivers smart performance for extreme games

Chglogon

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

Executing the chglogon command is the same as executing change logon.

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

Executing the chgport command is the same as executing change port.

Chgusr

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

Executing the chgusr command is the same as executing change user.

Chkdsk

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

Chkntfs

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

Choice

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.

Cipher

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

Ads

Canton Fair 2013 Fallwww.cantonfair.org.cn/en/index.aspA road to trade success.


A warm invitation from China. Join us!

Security Task Managerwww.neuber.com/TaskManagerDetects all hidden


processes, services, driver, BHO, Ad & Spyware

Clip

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

Cls

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

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

Ads

Kaseya Enterprisewww.Kaseya.com.au/Free_TrialComplete Corporate IT


Management Get Free Trial Now!

ABBYY FlexiCapture 10www.abbyy.comAll-in-one data capture solution for any


industry and any volume!

File System Driver SDKwww.eldos.com/CallbackFSCreate your own virtual file


system in Windows or .NET applications

Cmdkey

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

Cmstp

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

Color

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

Command

The command command starts a new instance of the command.com command


interpreter.

The command command is not available in 64-bit versions of Windows 7.

Comp

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

Compact

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

Convert

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

Ads
Visual Basic Programmingwww.daniweb.comFree Help & Discussion with VB Pros
& Experts. Register Today!

Free Prophecy For YouYourPersonalProphecy.comGet God's Plan For You in 2013.


Receive Your Free Written Prophecy!

Copy

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

Cscript

The cscript command is used to execute scripts via Microsoft Script Host.

The cscript command is most commonly used to manage printing from the
command line with scripts like prncnfg.vbs, prndrvr.vbs, prnmngr.vbs, and others.

Date

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

Ads

Kaseya Antiviruswww.Kaseya.com.au/Free_TrialComplete Virus Protection Get Free


Trial Now!

visual basic toolswww.microfocus.com/VisualCobolIndustry leading development


tools. Reduce your COBOL development costs

100% Free Cloud Storagewww.JustCloud.comStore Your Files in the Cloud. Access


Files Anywhere, Anytime.

Debug

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

The debug command is not available in 64-bit versions of Windows 7.

Defrag

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

Del

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

The diantz command is used to losslessly compress one or more files. The diantz
command is sometimes called Cabinet Maker.

The diantz command is the same as the makecab command.

Dir

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.

Diskcomp

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

Diskcopy

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

Ads

Free Windows 5 Start ButtonSoftReviews.co/Start-Button-8Restore Start Button


for Windows 8. Download Start Button 8 100% Free!

Science News sa Facebookwww.Facebook.comBasahin Pinakabagong Natuklasan


sa Facebook. Gumawa ng Profile Ngayon!

Diskpart

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

Diskperf

The diskperf command is used to manage disk performance counters remotely.

The diskperf command was useful for disk performance counter administration in
Windows NT and 2000 but are permanently enabled in Windows 7.

Endlocal

The endlocal command is used to end the localization of environment changes


inside a batch or script file.

Ads
Kaseya Antimalwarewww.Kaseya.com.au/Free_TrialPrevent Malware Automatically
Get Free Trial Now!

Free Start Button 8SoftReviews.co/Start-Button-8Restore Start Button for


Windows 8. Download Start Button 8 100% Free!

Facebook - Official SiteFacebook.comKumonekta sa Kaibigan, Kapamilya at


Kaklase. Gumawa ng Profile Ngayon!

Erase

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

Esentutl

The esentutl command is used to manage Extensible Storage Engine databases.

Eventcreate

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

Exe2Bin

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

The exe2bin command is not available in 64-bit versions of Windows 7.

Exit

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

Expand

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

Extrac32

The extrac32 command is used to extract the files and folders contained in
Microsoft Cabinet (CAB) files.

The extrac32 command is actually a CAB extraction program for use by Internet
Explorer but can be used to extract any Microsoft Cabinet file. Use the expand
command instead of the extrac32 command if possible.

Ads
Licence Activationmirage-systems.de/Licence-ProtectorCopy Protection, Web
Activation. 30 days free trial, Royalty free.

Download DC Comics Onlinewww.comixology.com/dc-comics-onlineRead Batman,


Superman, Wonder Woman Comics for your PC, Mobile, Tablet.

Fastopen

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.

The fastopen command is not available in 64-bit versions of Windows 7. Fastopen


only exists in 32-bit versions of Windows 7 to support older MS-DOS files.

Fc

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

Find

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

Ads

Kaseya Softwarewww.Kaseya.com.au/Free_TrialFull IT Management Services Suite


Sign up Today for the Free Trial!

Price List For Computerswww.hardwarezone.com.ph/Desktop-PCsCompare


Products Here. Prices & Products Updated Regularly

Recuperar Archivo BorradoRecuperar_Archivos.Avanquest.comRecupera en solo


2 min todos los Archivos Perdidos en tu PC/MAC

Findstr

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

Finger

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

Fltmc

The fltmc command is used to load, unload, list, and otherwise manage Filter
drivers.

For
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.

Forfiles

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.

Format

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

Drive formatting is also available from Disk Management in Windows 7.

Fsutil

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.

Ads

No Budget for Gadgets?www.CheapDito.comHybrid Gadgets Ur Best Alternative


80% Cheaper FreeShip/COD Nationwide

Free Start Button 8SoftReviews.co/Start-Button-8Restore Start Button for


Windows 8. Download Start Button 8 100% Free!

Ftp

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

Ftype

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

Getmac

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

Ads

Get a Static IP AddressMyStaticIPAddress.comStatic IP Addresses for your home


or office computer.

Free Windows 5 Start ButtonSoftReviews.co/Start-Button-8Restore Start Button


for Windows 8. Download Start Button 8 100% Free!
Kaseya Antiviruswww.Kaseya.com.au/Free_TrialComplete Virus Protection Get Free
Trial Now!

Goto

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

Gpresult

The gpresult command is used to display Group Policy settings.

Gpupdate

The gpupdate command is used to update Group Policy settings.

Graftabl

The graftabl command is used to enable the ability of Windows to display an


extended character set in graphics mode.

The graftabl command is not available in 64-bit versions of Windows 7.

Graphics

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

The graphics command is not available in 64-bit versions of Windows 7.

Help

The help command provides more detailed information on other Command Prompt
commands.

Hostname

The hostname command displays the name of the current host.

Ads

Facebook - Official Sitewww.Facebook.comKumonekta sa Kaibigan, Kapamilya at


Kaklase. Gumawa ng Profile Ngayon!

Golf Swing Tips?SquareToSquareMethod.comHit Golf Ball Straight Every Time. Free


Golf Swing Video Lessons Here!

Hwrcomp

The hwrcomp command is used to compile custom dictionaries for handwriting


recognition.
Hwrreg

The hwrreg command is used to install a previously compiled custom dictionary for
handwriting recognition.

Icacls

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.

Ads

Kaseya Antimalwarewww.Kaseya.com.au/Free_TrialPrevent Malware Automatically


Get Free Trial Now!

Security Product SupplierGlobalSources.comChina & Asia Manufacturers Source


Connect With Your Supplier Today!

Locate IP addressesen.utrace.deFree location of IP addresses and hostnames on a


worldmap

If

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

Ipconfig

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.

Irftp

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

Iscsicli

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

Kb16

The kb16 command is used to support MS-DOS files that need to configure a
keyboard for a specific language.

The kb16 command is not available in 64-bit versions of Windows 7.

Klist

The klist command is used to list Kerberos service tickets. The klist command can
also be used to purge Kerberos tickets.
Ksetup

The ksetup command is used to configure connections to a Kerberos server.

Ads

Get a Static IP AddressMyStaticIPAddress.comStatic IP Addresses for your home


or office computer.

Security Task Managerwww.neuber.com/TaskManagerDetect all hidden processes,


services, driver, BHO, Trojans

Ktmutil

The ktmutil command starts the Kernel Transaction Manager utility.

Continue: Label through Tasklist

There are so many Command Prompt commands that I can't put them all in this
single list!

Click the link above to see list 2 of 3 detailing the Command Prompt commands
available in Windows 7.

NTLDR is Missing Error Resolution

Steps to Resolve the NTLDR is Missing Error in Windows XP

By Tim Fisher, About.com Guide

Ads:

Windows XP 7

Windows PC

Windows Operating System

Fix Windows Update Errors

Windows DLL
Ads

Kaseya Desktop Migrationwww.Kaseya.com.au/Free_TrialBackup, Restore &


Migrate Sign up Today for the Free Trial!

Security Process Viewerwww.neuber.com/TaskManagerDetect all hidden


processes, services, driver, BHO, Trojans.

Computer Problems?www.WhiteBoxComputers.orgPC/Laptop Repairs, No


Problem! 50% OFF New Service 847-833-9324

See More About

ntldr

windows xp errors

error messages during startup

Ads

Crea un perfil Facebookwww.Facebook.comConctate con amigos, familiares y


compaeros. Crea un perfil hoy!

Computer Techwww.Monster.com.phFind Jobs Now Sign up for Free to Apply

NTLDR Error Message

There are few different ways that the "NTLDR is missing" error may present itself,
with the first listing being the most common:

"NTLDR is missing
Press any key to restart"

"NTLDR is missing
Press Ctrl Alt Del to restart"

"Boot: Couldn't find NTLDR


Please insert another disk"

The "NTLDR is missing" error displays very shortly after the computer is first
started, immediately after the Power On Self Test (POST) is complete. Windows XP
has only initially begun to load when the NTLDR error message appears.

Causes of NTLDR Errors

There are a number of possible causes for NTLDRerrors, including the most common
"NTLDR is missing" error message.
The most common reason for this error is when your PC is trying to boot from a hard
drive or flash drivethat is not properly configured to be booted from; in other words,
it's trying to boot from a non-bootablesource. This also would apply to media on
an optical drive or floppy drive that you're trying to boot from.

Other possible causes include corrupt and misconfigured files, hard drive
and operating system upgrade issues, corrupt hard drive sectors, an outdated BIOS,
and damaged or looseIDE cables.

Fixes for NTLDR Errors

1. Restart the PC. The NTLDR error could be a fluke.

2. Check your floppy and optical (CD/DVD/BD) drives for media and disconnect
any external drives. Often times, the "NTLDR is Missing" error will appear if
your PC is trying to boot to a non-bootable floppy disk, CD/DVD/BD, or
external hard drive or flash drive.

Note: If you find that this is the cause of your problem and it's happening a
lot, you might want to consider changing the boot order in BIOS so the hard
drive with Windows installed is listed first.

3. Check the hard drive and other drive settings in BIOS and ensure they are
correct. The BIOS configuration tells the computer how to use a drive so
incorrect settings can cause problems, including NTLDR errors.

Note: There is usually an Auto setting for hard drive and optical drive
configurations in BIOS which is usually a safe bet if you're not sure what to
do.

4. Restore the NTLDR and ntdetect.com files from the Windows XP CD. Restoring
these two importantsystem files from the original Windows XP CD may do the
trick.

5. Repair or replace the boot.ini file. This will prevent the NTLDR error if the
cause of the problem is a boot.ini file that is not configured properly for your
Windows XP installation.

6. Write a new partition boot sector to the Windows XP system partition. If the
partition boot sector has become corrupt or isn't properly configured, you
may receive the "NTLDR is Missing" error.

7. Repair the Windows XP master boot record. NTLDR error messages may also
appear if the master boot record is corrupt.

8. Reseat all internal data and power cables. NTLDR error messages could be
caused by loose or malfunctioning IDE cables.
Try replacing the IDE cable cable if you suspect it might be faulty.

9. Update your motherboard's BIOS. Occasionally, an outdated BIOS version can


cause the "NTLDR is Missing" error.

10.Perform a repair installation of Windows XP. This type of


installation should replace any missing or corrupt files. Continue
troubleshooting if this does not resolve the issue.

11.Perform a clean installation of Windows XP. This type of installation will


completely remove Windows XP from your PC and install it again from
scratch. While this will almost certainly resolve any NTLDR errors, it is a time
consuming process due to the fact that all of your data must be backed up
and then later restored.

If you can't gain access to your files to back them up, understand that you
will lose them all if you continue with a clean installation of Windows XP.

12.Replace the hard drive and then perform a new installation of Windows XP. If
all else has failed, including the clean installation from the last step, you're
most likely facing ahardware issue with your hard drive.

NTLDR Errors Apply To

This issue applies to the Windows XP operating system, including Windows XP


Professional and Windows XP Home Edition.

Windows 8, Windows 7, and Windows Vista utilize BOOTMGR, not NTLDR.

Вам также может понравиться