An Introduction to Computers
An Introduction to Computers
P a g e |1
TABLE OF CONTENT
1. INTRODUCTION TO COMPUTERS
We are living in an information age dependent upon digital information. Digital information is electronic
information, the result of computer processing. Every type of job relies upon getting information, using it,
managing it, and relaying information to others. Computers enable the efficient processing and storage of
information.
Do not think of a computer merely as the machine with the keyboard and the mouse, although that might be
true for some types of computers. Embedded computers may be inside your household appliances, the VCR,
the automobile, planes, trains, power plants, water purification plants, calculators and even inside a few toys.
These embedded computers are very small. They affect our lives each day. Why, even modern traffic lights
operate with computers. They are all around us. Think of additional ways in which computers affect our lives
each day.
From early days, computers have been used to design the next generation. Programs written in the proposed
instruction language can be run on a current computer via emulation. At this stage, it is now commonplace for
compiler designers to collaborate, suggesting improvements in the ISA. Modern simulators normally measure
time in clock cycles, and give power consumption estimates in watts, or, especially for mobile systems, energy
consumption in joules.
2. USE OF COMPUTERS
What can you do with computers?
In the workplace, many people use computers to keep records, analyze data, do research, and manage
projects. At home, you can use computers to find information, store pictures and music, track finances, play
games, and communicate with others—and those are just a few of the possibilities.
You can also use your computer to connect to the Internet, a network that links computers around the world.
Internet access is available for a monthly fee in most urban areas, and increasingly, in less populated areas.
With Internet access, you can communicate with people all over the world and find a vast amount of
information.
The Web
The World Wide Web (usually called the Web, or www) is a gigantic storehouse of information. The web is the
most popular part of the Internet, partly because it displays most information in a visually appealing format.
Headlines, text, and pictures can be combined on a single webpage—much like a page in a magazine—along
with sounds and animation. A website is a collection of interconnected webpage’s. The web contains millions
of websites and billions of Web Pages.
Surfing the web means exploring it. You can find information on the web about almost any topic imaginable.
For example, you can read news stories and movie reviews, check airline schedules, see street maps, get the
weather forecast for your city, or research a health condition. Most companies, government agencies,
museums, and libraries have websites with information about their products, services, or collections.
Reference sources, such as dictionaries and encyclopedias, are also widely available.
The web is also a shopper's delight. You can browse and purchase products—books, music, toys, clothing,
electronics, and much more—at the websites of major retailers. You can also buy and sell used items through
websites that use auction-style bidding.
E-mail
E-mail (short for electronic mail) is a convenient way to communicate with others. When you send an e-mail
message, it arrives almost instantly in the recipient's e-mail inbox. You can send e-mail to many people
simultaneously, and you can save, print, and forward e-mail to others. You can send almost any type of file in
an e-mail message, including documents, pictures, and music files. And with e-mail, you don't need a stamp!
See getting started with e-mail.
Instant Messaging
Instant messaging is like having a real-time conversation with another person or a group of people. When you
type and send an instant message, the message is immediately visible to all participants. Unlike e-mail, all
participants have to be online (connected to the Internet) and in front of their computers at the same time.
Communicating by means of instant messaging is called chatting.
Gaming
Do you like to play games? Thousands of computer games in every conceivable category are available to
entertain you. Get behind the wheel of a race car, battle frightening creatures in a dungeon, or control
civilizations and empires! Many games allow you to compete with other players around the world through the
Internet. Windows includes a variety of card games, puzzle games, and strategy games.
Information
Information is the “knowledge obtained from investigation or communication”. Information is data that has
been given meaning by way of relational connection. This "meaning" can be useful, but does not have to be. In
computer parlance, a relational database makes information from the data stored within it.
Data
Data is raw. It simply exists and has no significance beyond its existence (in and of itself). It can exist in any
form, usable or not. Data is the “reliable information based on observation and record-keeping”.
Data are the quantities, characters, or symbols on which operations are performed by a computer, being
stored and transmitted in the form of electrical signals and recorded on magnetic, optical, or mechanical
recording media. A program is a set of data that consists of a series of coded software instructions to control
the operation of a computer or other machine. Physical computer memory elements consist of an address and
a byte/word of data storage. Digital data can be reduced to key/value pair combinations.
Supersets of this idea, where keys are derived, and values are arranged, relatively, are called data structures.
They are also used in peripheral devices.
In an alternate usage, binary files (which are not human-readable) are sometimes called "data" as
distinguished from human-readable "text". The total amount of digital data in 2007 was estimated to be 281
billion gigabytes (= 281 exabytes).
Data vs Programs
Fundamentally, computers follow the instructions they are given. A set of instructions to perform a given task
(or tasks) is called a "program". In the nominal case, the program, as executed by the computer, will consist of
binary machine code. The elements of storage manipulated by the program, but not actually executed by the
CPU, contain data.
Typically, programs are stored in special file types, different from that used for data. Executable files contain
programs; all other files are data files. However, executable files may also contain data which is "built-in" to
the program. In particular, some executable files have a data segment, which nominally contains constants
and initial values (both data).
For example: a user might first instruct the operating system to load a word processor program from one file,
and then edit a document stored in another file. In this example, the document would be considered data. If
the word processor also features a spell checker, then the dictionary (word list) for the spell checker would
also be considered data. The algorithms used by the spell checker to suggest corrections would be either
machine code or a code in some interpretable programming language.
The line between program and data can become blurry. An interpreter, for example, is a program. The input
data to an interpreter is itself a program—just not one expressed in native machine language. In many cases,
the interpreted program will be a human-readable text file, which is manipulated with a text editor—more
normally associated with plain text data. Metaprogramming similarly involves programs manipulating other
programs as data. Also, for programs like compilers, linkers, debuggers, program updaters, etc. may other
programs serve as data.
Hardware
1. Physical parts of the computer are called hardware.
2. You can touch, see and feel hardware.
3. Hardware is constructed using physical materials or components.
4. Computer is hardware, which operates under the control of software.
5. If hardware is damaged, it is replaced with new one.
6. Hardware is not affected by computer viruses.
7. Hardware cannot be transferred from one place to another electronically through network.
8. User cannot make new duplicate copies of the hardware.
Software
1. A set of instructions given to the computer is called software.
2. You cannot touch and feel software.
3.1.3 Processor
The central processing unit, or CPU, is that part of a computer which executes software program instructions.
In older computers this circuitry was formerly on several printed circuit boards, but in PCs is a single integrated
circuit. Nearly all PCs contain a type of CPU known as a microprocessor. The microprocessor often plugs into
the motherboard using one of many different types of sockets. IBM PC compatible computers use an x86-
compatible processor, usually made by Intel, AMD, VIA Technologies or Transmeta. Apple Macintosh
computers were initially built with the Motorola 680x0 family of processors, then switched to the PowerPC
series (a RISC architecture jointly developed by Apple Computer, IBM and Motorola), but as of 2006, Apple
switched again, this time to x86-compatible processors by Intel. Modern CPUs are equipped with a fan
attached via heat sink.
3.1.4 Motherboard
The motherboard, also referred to as system board or main board, is the primary circuit board within a
personal computer. Many other components connect directly or indirectly to the motherboard. Motherboards
usually contain one or more CPUs, supporting circuitry - usually integrated circuits (ICs) - providing the
interface between the CPU memory and input/output peripheral circuits, main memory, and facilities for
initial setup of the computer immediately after power-on (often called boot firmware or, in IBM PC compatible
computers, a BIOS). In many portable and embedded personal computers, the motherboard houses nearly all
of the PC's core components. Often a motherboard will also contain one or more peripheral buses and
physical connectors for expansion purposes. Sometimes a secondary daughter board is connected to the
motherboard to provide further expandability or to satisfy space constraints.
3.1.5 Storage
Your computer has one or more disk drives—devices that store information on a metal or plastic disk. The disk
preserves the information even when your computer is turned off. Your computer's hard disk drive stores
information on a hard disk, a rigid platter or stack of platters with a magnetic surface. Because hard disks can
hold massive amounts of information, they usually serve as your computer's primary means of storage,
holding almost all of your programs and files. The hard disk drive is normally located inside the system unit.
3.1.7 RAM
RAM is the acronym of Random Access Memory, which is used for storage of computer data, not your
personal data. This device is used to read and write data. It temporary stores the computer memory and keep
it until system is on and will erased it after your system go shutdown. RAM has two types SRAM (static RAM)
and DRAM (dynamic RAM). It is available from 256MB to 8GB sizes. With increase in RAM size system will be
able to perform faster than before.
All data you stored on hard disk are permanently saved during usage and after shutdown. While RAM
keeps memory until system is running. All the memory will be erased automatically after your system
switched off.
Currently, RAM is available from 256MB to 8GB (recently announced by Seagate). While hard disk size
starts where RAM size ends. 500GB to 8TB size hard disk are available in the market.
RAM is just a chip containing some circuits. Hard disk is almost a machine having multiple parts like
platters, plastic disc, magnate, writer & reader bar.
If you are running short of hard disk space, you can use external hard disk for your data storage. There
is no option for external removable RAM.
Whenever we perform some task, memory first comes from RAM instead of hard disk. Hard disk is a
secondary mean for circulation of memory.
RAM works faster than hard drive. Basic purpose of RAM is to fast the performance of system. If you
have low RAM, your system speed will be low. Main purpose of hard disk is to store information. If you
have low capacity hard disk there will be less impact on your system speed.
Additional RAM demand requires no Window but if you want to change your hard disk, it will be workable
after fresh Window.
more prone to damage. For these reasons, floppy disk drives are less popular than they used to be, although
some computers still include them.
3.1.10 Mouse
A mouse is a small device used to point to and select items on your computer screen. Although mice come in
many shapes, the typical mouse does look a bit like an actual mouse. It's small, oblong, and connected to the
system unit by a long wire that resembles a tail. Some newer mice are wireless.
3.1.11 Keyboard
A keyboard is used mainly for typing text into your computer. Like the keyboard on a typewriter, it has keys for
letters and numbers, but it also has special keys:
The function keys, found on the top row, perform different functions depending on where they are used.
The numeric keypad, located on the right side of most keyboards, allows you to enter numbers quickly.
The navigation keys, such as the arrow keys, allow you to move your position within a document or
webpage.
3.1.12 Monitor
A monitor displays information in visual form, using text and graphics. The portion of the monitor that displays
the information is called the screen. Like a television screen, a computer screen can show still or moving
pictures. There are two basic types of monitors: CRT (cathode ray tube) monitors and LCD (liquid crystal
display) monitors. Both types produce sharp images, but LCD monitors have the advantage of being much
thinner and lighter. CRT monitors, however, are generally more affordable.
3.1.13 Printer
A printer transfers data from a computer onto paper. You don't need a printer to use your computer, but
having one allows you to print e-mail, cards, invitations, announcements, and other materials. Many people
also like being able to print their own photos at home. The two main types of printers are inkjet printers and
laser printers. Inkjet printers are the most popular printers for the home. They can print in black and white or
in full color and can produce high quality photographs when used with special paper. Laser printers are faster
and generally better able to handle heavy use.
3.1.14 Speakers
Speakers are used to play sound. They may be built into the system unit or connected with cables. Speakers
allow you to listen to music and hear sound effects from your computer.
3.1.15 Modem
To connect your computer to the Internet, you need a modem. A modem is a device that sends and receives
computer information over a telephone line or high-speed cable. Modems are sometimes built into the system
unit, but higher speed modems are usually separate components.
Software is a set of instructions, data or programs used to operate computers and execute specific tasks. It is
the opposite of hardware, which describes the physical aspects of a computer. Software is a generic term used
to refer to applications, scripts and programs that run on a device. It can be thought of as the variable part of a
computer, while hardware is the invariable part.
The two main categories of software are application software and system software. An application is software
that fulfills a specific need or performs tasks. System software is designed to run a computer's hardware and
provides a platform for applications to run on top of.
Other types of software include programming software, which provides the programming tools software
developers need; middleware, which sits between system software and applications; and driver software,
which operates computer devices and peripherals.
Early software was written for specific computers and sold with the hardware it ran on. In the 1980s, software
began to be sold on floppy disks, and later on CDs and DVDs. Today, most software is purchased and directly
downloaded over the internet. Software can be found on vendor websites or application service provider
websites.
These software programs are designed to run a computer's application programs and hardware. System
software coordinates the activities and functions of the hardware and software. In addition, it controls the
operations of the computer hardware and provides an environment or platform for all the other types of
software to work in. The Operating System or OS is the best example of system software; it manages all the
other computer programs. Other examples of system software include the firmware, computer language
translators and system utilities.
When you type in MS-DOS commands, your drive letter is shown on the command line. You can log on the A:
drive (have the A: drive as your prompt) or on to any valid drive by just typing in the drive letter followed by a
colon and then pressing Enter. When you log on to a drive, all your commands will be executed on that drive -
unless you specify otherwise.
Here are the steps:
1. Put a floppy disk into your machine.
2. Open an MS-DOS window. You will be at the C:\> prompt
(you may be inside a directory structure, but you will be on the C: drive)
3. At the prompt, type in A: and press Enter.
4. Do a DIR to prove you are now on a blank drive (a drive with no files on it).
RENAME (REN) The REN command renames a file. Unlike the move command, this command cannot be
used to rename subdirectories, or rename files across drives. Mass renames can be
accomplished by the use of the wildcards characters asterisk (*) and question mark (?)
RMDIR or RD Remove a directory (delete a directory); by default the directories must be empty of files
for the command to succeed.
TYPE Displays a file. The more command is frequently used in conjunction with this command,
e.g. type long-text-file | more. TYPE can be used to concatenate files (type file1 file2 >
file3); however this won't work for large files use copy command instead.
VER An internal DOS command that reports the DOS version presently running, and since MS-
DOS 5, whether DOS is loaded high.
VOL Displays or sets a search path for executable files.
FORMAT Deletes the FAT entries and the root directory of the drive/partition, and reformats it for
MS-DOS. In most cases, this should only be used on floppy drives or other removable
media. This command can potentially erase everything on a computer's drive.
FOR Iteration: repeats a command for each out of a specified set of files. The FOR loop can be
used to parse a file or the output of a command.
GOTO The Goto command transfers execution to a specified label. Labels are specified at the
beginning of a line, with a colon (:likethis).
XCOPY Copy entire directory trees. Xcopy is a version of the copy command that can move files
and directories from one location to another. XCOPY usage and attributes can be
obtained by typing XCOPY /? in the DOS Command line.
PAUSE Suspends processing of a batch program and displays the message Press any key
to continue. . ., if not given other text to display.
PROMPT The PROMPT command allows the user to change the prompt in the command screen.
The default prompt is $p (i.e. PROMPT $p ), which displays the drive and current path as
the prompt, but can be changed to anything. PROMPT $d , displays the current system
date as the prompt. Type PROMPT /? in the cmd screen for help on this function.
SETUP This command does a computer setup. With all computers running DOS versions 5 and
later, it runs the computer setup, such as Windows 95 setup and Windows 98 setup.
SHIFT The SHIFT command increases number of replaceable parameters to more than the
standard ten for use in batch files. This is done by changing the position of replaceable
parameters. It replaces each of the replacement parameters with the subsequent one
(e.g. %0 with %1, %1 with %2, etc.).
TIME Display the system time and waits for the user to enter a new time. Complements the
DATE command.
VERIFY Enables or disables the feature to determine if files have been correctly written to disk. If
no parameter is provided, the command will display the current setting.
CHCP The command either displays or changes the active code page used to display character
glyphs in a console window. Similar functionality can be achieved with MODE CON: CP
SELECT=yyy.
CTTY Defines the terminal device (for example, COM1) to use for input and output.
BREAK Break can be used to enable or disable the BREAK
breaking capability of the computer. For example, if BREAK on|off
you wanted to cancel a batch file or another MS-
DOS processes, you can press Ctrl + C for a prompt
asking if you want to cancel the current process.
CALL START will create a new cmd.exe for the called batch and without /b it will open a
new window. As it's a new context, variables can't be shared. Addendum: Using CALL
can change the parameters (for batch and exe files), but only when they contain carets
or percent signs.
A new batch file context is created with the specified arguments and control is passed to
the statement after the label specified. You must "exit" twice by reaching the end of the
batch script file twice. The first time you read the end, control returns to just after the
CALL statement. The second time will exit the batch script. Type GOTO /? for a description
of the GOTO :EOF extension that allows you to "return" from a batch script.
https://en.wikipedia.org/wiki/List_of_DOS_commands
The source, path, and filename of the location of the file that you
Source:\Path\Filename
want to backup.
Target: The target drive for the backup file.
Makes a backup of all files, directories, and subdirectories in the
/s
specified source location.
/m Backup all files that have changed since the last backup.
Adds a new backup file to existing backups instead of overwriting
/a
them.
Backup files that have been created or modified since the date
/d:date
specified.
/t:time Backup files that have been created or modified after this time.
Create backup files in a specific size so they can be saved to an
/f:size
external storage such as a floppy disk drive.
Create a log of the backup and specify the location of where the
/L:LogDrive:\Path\Log
log is to be saved.
CHKDSK.EXE This command is used to check the C:\> CHKDSK
status of a disk and show the report
of result status.
COMMAND.COM Start a new instance of the command interpreter.
COMP.EXE Show differences between any two files, or any two sets of files.
DEFRAG.EXE The command has the ability to analyze the file fragmentation on a disk drive or to
defragment a drive. This command is called DEFRAG in MS-DOS/PC DOS and diskopt in
DR-DOS.
DISKCOMP.COM A command for comparing the complete contents of a disk to another one.
DISKCOPY.COM DISKCOPY copies the contents of a C:\> DISKCOPY <Drive1> <Drive2>
floppy disk to another. C:\> DISKCOPY A: B:
DOSKEY.COM Once we install doskey, our dos will C:\> DOSKEY DOSKey installed
star to memorize all commands we Creating Macros:-
uses. We can recall those commands C:\>doskey t=time
using up or down arrow keys. It also
gives the facility to create macros, C:\>t
which creates a short key for long C:\>time
keyword or command. Current time is 3:39:05.97p
UP, DOWN arrows recall commands Enter new time:
Esc clears current command
To list out all macros defined just type
F7 displays command DOSKEY/MACROS at dos prompt and press enter.
history C:\>DOSKEY/MACROS
Alt+F7 clears command history $D=date T=time
F9 selects a command by
number
Alt+F10 clears macro definitions
EDIT.COM EDIT is a full-screen text editor, included with MS-DOS versions 5 and 6
EDLIN.EXE DOS line-editor. It can be used with a script file, like debug, this makes it of some use
even today. The absence of a console editor in MS-DOS/PC DOS 1–4 created an after-
market for third-party editors.
In DOS 5, an extra command "?" was added to give the user much-needed help.
EXE2BIN.EXE Converts an executable (.exe) file into a binary file with the extension .com, which is a
memory image of the program.
The size of the resident code and data sections combined in the input .exe file must be
less than 64 KB. The file must also have no stack segment.
The command is available in MS-DOS versions 1 through 5. It is available separately for
version 6 on the Supplemental Disk.
EXPAND.EXE The Microsoft File Expansion Utility is used to uncompress one or more compressed
cabinet files (.CAB). The command dates back to 1990 and was supplied on floppy disc for
MS-DOS versions 5 and later.
FASTOPEN.EXE A command that provides accelerated access to frequently-used files and directories.
FC.EXE This command is capable for comparing C:\> FC <First set of file> <Second set of file>
two set of files and display difference C:\> FC ROSE.TXT GULAB.TXT
between two files.
FDISK.EXE The FDISK command manipulates hard disk partition tables. The name derives from IBM's
habit of calling hard drives fixed disks. FDISK has the ability to display information about,
create, and delete DOS partitions or logical DOS drive. It can also install a standard
master boot record on the hard drive.
FORMAT.COM This command creates new Track & C:\> FORMAT [drive name] [/S]
Sectors in a disk. But the for the user C:\> FORMAT A:
it is deleting all information from the this command will create new track & sectors.
disk C:\> FORMAT A: /S
This command will transfer system files after
formatting the disk.
GRAFTABLE.COM The GRAFTABL command enables the display of an extended character set in graphics
mode.
GRAPHICS.COM A TSR program to enable the sending of graphical screen dump to printer by pressing
<Print Screen>.
HELP.EXE Gives help about DOS commands.
The command is available in MS-DOS versions 5 thru Windows XP. Full-screen command
help is available in MS-DOS versions 6 and later. Beginning with Windows XP, the
command processor "DOS" offers builtin-help for commands by using /? (e.g. COPY /? )
JOIN.EXE The JOIN command attaches a drive letter to a specified directory on another drive.[11]
The opposite can be achieved via the SUBST command.
The command is available in MS-DOS versions 3 through 5. It is available separately for
versions 6.2 and later on the Supplemental Disk.
KEYB.COM The KEYB command is used to select a keyboard layout.
The command is available in MS-DOS versions 3.3 and later.
From DOS 3.0 through 3.21, there are instead per-country commands, namely KEYBFR,
KEYBGR, KEYBIT, KEYBSP and KEYBUK.
LABEL.EXE If you are not happy with the volume C:\> LABEL
label of hard disk, you can change it. C:\>LABEL
Volume in drive C is JAI
Volume Serial Number is 3E42-1907
Volume label (11 characters, ENTER for none)?
INFOWAY
MEM.EXE This command displays free and used C:\> MEM
amount of memory in the computer.
MIRROR.COM The MIRROR command saves disk storage information that can be used to recover
accidentally erased files. The command is available in MS-DOS version 5. It is available
separately for versions 6.2 and later on Supplemental Disk.
MODE.COM Configures system devices. Changes graphics modes, adjusts keyboard settings, prepares
code pages, and sets up port redirection. The command is available in MS-DOS versions
3.2 and later and IBM PC DOS releases 1 and later.
MORE.COM Using TYPE command we can see the C:\> TYPE <File name> | MORE
content of any file. But if length of file C:\> TYPE ROSE.TXT | MORE
is greater than 25 lines then C:\> DIR | MORE
remaining lines will scroll up. To
overcome through this problem we
uses MORE command. Using this
command we can pause the display
one file or multiple files from one C:\SONGS> MOVE *.MP3 C:\ SONGS\OLD
location to another location or from SONGS\
one disk to another disk.
FIND The FIND command is used to search C:\> FIND "String to search" <File name>
a file for a text string. C:\TEST>find "office" gulab.txt
---------- gulab.txt
A clock in a office can never get stolen
https://en.wikipedia.org/wiki/List_of_DOS_commands
DOS Windows
The command prompt that has been in previous versions of Windows is still with us and is not much changed
from Windows Vista. The command line remains a powerful and much used feature by system administrators
everywhere. Thus, the old command interpreter cmd.exe has been continued although in a slightly newer
version. Several commands are now in the standard list that was formerly available only on servers. New
commands are indicated with an asterisk in the list below. Note that some commands may require
administrator privileges. A number of commands involving specialized system or network administration have
been omitted.
Microsoft has slowly but surely pushed the command line aside in the Windows interface. This is not without
reason, as it’s an antiquated and mostly unnecessary tool from an era of text-based input that has long
passed.
But there still are some commands that remain useful. Here are the commands every Windows user needs to
know.
ASSOC
Most files in Windows are associated with a specific program that is assigned to open the file by default. At
times, remembering these associations can become confusing. You can remind yourself by entering the
command “assoc” to display a full list of file extensions and the programs they’re connected with.
You can also extend the command to change file associations. For example, “assoc .txt=” will change the file
association for text files to whatever program you enter after the equal sign. The ASSOC command itself will
reveal both the extension names and program names, which will help you properly use this command. You can
probably do this more easily in the GUI, but the command line interface is a perfectly functional alternative.
Cipher
Deleting files on a mechanical hard drive doesn’t really delete them at all. Instead, it marks the files as no
longer accessible and the space they took up as free. The files remain recoverable until they’re overwritten
with new data, which can take some time.
The cipher command, however, can be used to wipe a directory by writing random data to it. To wipe your C
drive, for example, you’d use the command “cipher /w:c”, which will wipe free space on the drive. The
command does not overwrite undeleted data, so you will not wipe out files you need by running this
command.
There’s also a host of other cipher commands, however, they are generally redundant with Bitlocker enabled
versions of Windows.
Netstat
Entering the command “netstat -an” will provide you with a list of currently open ports and related
IP addresses. You’ll also be told what state the port is in – listening, established or closed. This is a great
command if you’re trying to troubleshoot the devices your PC is connected to or you’re afraid you’re infected
with a Trojan and are trying to locate a malicious connection.
Driverquery
Drivers remain among the most important software installed on a PC. Improperly configured or missing drivers
can cause all sorts of trouble, so its good to have access to a list of what’s on your PC. That’s exactly what the
“driverquery” command does. You can extend it to “driverquery -v” to obtain more information including the
directory in which the driver is installed.
File Compare
This command can be used to identify differences in text between two files, and is particularly useful for
writers and programmers trying to find small changes between two versions of a file. Simply type “fc” and
then the directory path and file name of the two files you want to compare.
You can also extend the command in several ways. Typing “/b” compares only binary output, “/c” disregards
the case of text in the comparison, and “/l” only compares ASCII text.
So, for example, you could use the following:
fc /l "C:\Program Files (x86)\example1.doc" "C:\Program Files (x86)\example2.doc"
to compare ASCII text in two word documents.
Ipconfig
This command relays the IP address that your computer is currently using. However, if you’re behind a router
(like most computers today), you’ll instead receive the local network address of the router.
Still, ipconfig is useful because of its extensions. “ipconfig /release” followed by “ipconfig /renew” can force
your Windows PC into asking for a new IP address, which is useful if your computer claims one isn’t available.
You can also use “ipconfig /flushdns” to refresh your DNS address. These commands are great if the Windows
network troubleshooter chokes, which does happen on occasion.
Ping
Sometimes, you need to know whether or not packets are making it to a specific networked device. That’s
where ping comes in handy. Typing “ping” followed by an IP address or web domain will send a series of test
packets to the specified address. If they arrive and are returned, you know the device is capable of
communicating with your PC; if it fails, you know that there’s something blocking communication between the
device and your computer. This can help you decide if an issue is caused by improper configuration or a failure
of network hardware.
Pathping
This is a more advanced version of ping that’s useful if there are multiple routers between your PC and the
device you’re testing. Like ping, you use this command by typing “pathping” followed by the IP address, but
unlike ping, pathping also relays some information about the route the test packets take.
Tracert
The “tracert” command is similar to pathping. Once again, type “tracert” followed by the IP address or domain
you’d like to trace. You’ll receive information about each step in the route between your PC and the target.
Unlike pathping, however, tracert also tracks how much time (in milliseconds) each hop between servers or
devices takes.
Powercfg
Powercfg is a very powerful command for managing and tracking how your computer uses energy. You can use
the command “powercfg /hibernate on” and “powercfg /hibernate off” to manage hibernation, and you can
also use the command “powercfg /a” to view the power-saving states currently available on your PC.
Another useful command is “powercfg /devicequery s1_supported” which displays a list of devices on your
computer that support connected standby. When enabled, these devices can be used to bring your computer
out of standby – even remotely. You can enable this by selecting the device in Device Manager, opening its
properties, going to the Power Management tab and then checking the “Allow this device to wake the
computer” box.
“Powercfg /lastwake” will show you what device last woke your PC from a sleep state. You can use this
command to troubleshoot your PC if it seems to wake from sleep at random.
The “powercfg /energy” command can be used to build a detailed power consumption report for your PC,
which is output to a directory indicated after the command finishes. This report will let you know of any
system faults that might increase power consumption, like devices that are blocking certain sleep modes, or
which aren’t properly configured to respond to your power management settings.
Windows 8 added “powercfg /batteryreport”, which provides a detailed analysis of battery use, if applicable.
Normally output to your Windows user directory, the report provides details about the time and length of
charge and discharge cycles, lifetime average battery life, and estimated battery capacity.
Shutdown
As of Windows 8/8.1 there is now a shutdown command that – you guessed it! – shuts down your computer.
This is of course redundant with the already easily accessed shutdown button, but what’s not redundant is the
“shutdown /r /o” command, which restarts your PC and launches the Advanced Start Options menu, which is
where you can access Safe Mode and Windows recovery utilities. This is useful if you want to restart your
computer for troubleshooting purposes.
Recovery Image
Virtually all Windows 8/8.1 computers ship from the factory with a recovery image, but the image may include
bloatware you’d rather not have re-installed. Once you’ve un-installed the software you can create a new
image using the “recimg” command. Entering this command presents a very detailed explanation of how to
use it. You must have administrator privileges to use the recimg command, and you can only access the
custom recovery image you create via the Windows 8 “refresh” feature.
Tasklist
The “tasklist” command can be used to provide a current list of all tasks running on your PC. Though
somewhat redundant with Task Manager, the command may sometimes find tasks hidden from view in that
utility.
There’s also a wide range of modifiers. “Tasklist -svc” shows services related to each task, “tasklist -v” can be
used to obtain more detail on each task, and “tasklist -m” can be used to locate .dll files associated with active
tasks. These commands are useful for advanced troubleshooting.
Taskkill
Tasks that appear in the “tasklist” command will have an executable and process ID (a four-digit
number) associated with them. You can force stop a program using “taskkill -im” followed by the executable’s
name, or “taskkill -pid” followed by the process ID. Again, this is a bit redundant with Task Manager, but may
be used to kill otherwise unresponsive or hidden programs.
http://www.makeuseof.com/tag/one-windows-tool-get-instant-access-hardware-controls/
The most common type of software, application software is a computer software package that performs a
specific function for a user, or in some cases, for another application. An application can be self-contained, or
it can be a group of programs that run the application for the user. Examples of modern applications include
office suites, graphics software, databases and database management programs, web browsers, word
processors, software development tools, image editors and communication platforms.
Also known as device drivers, this software is often considered a type of system software. Device drivers
control the devices and peripherals connected to a computer, enabling them to perform their specific tasks.
Every device that is connected to a computer needs at least one device driver to function. Examples include
software that comes with any nonstandard hardware, including special game controllers, as well as the
software that enables standard hardware, such as USB storage devices, keyboards, headphones and printers.
3.2.4 Middleware
The term middleware describes software that mediates between application and system software or between
two different kinds of application software. For example, middleware enables Microsoft Windows to talk to
Excel and Word. It is also used to send a remote work request from an application in a computer that has one
kind of OS, to an application in a computer with a different OS. It also enables newer applications to work with
legacy ones.
3.2.5 Programming Software
Computer programmers use programming software to write code. Programming software and programming
tools enable developers to develop, write, test and debug other software programs. Examples of programming
software include assemblers, compilers, debuggers and interpreters.