All Topics  
Notepad

 

   Email Print
   Bookmark   Link






 

Notepad



 
 
Notepad is a simple text editor
Text editor

A text editor is a type of software application used for editing plain text files.Text editors are often provided with operating systems or software development packages, and can be used to change configuration files and programming language source code....
 included in all versions of Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 since Windows 1.0
Windows 1.0

Windows 1.0 is a 16-bit graphical operating environment that was released on 20 November 1985. It was Microsoft's first attempt to implement a Computer multitasking graphical user interface-based operating environment on the personal computer platform....
 in 1985.

pad is a common text-only (also referred to as plain text
Plain text

In computing, plain text is a term used for an ordinary "unformatted" sequential file readable as textual material without much processing.The Character encoding has traditionally been either ASCII, one of its many derivatives such as ISO/IEC 646 etc., or sometimes EBCDIC....
) editor. The resulting files – typically saved with the .txt
Text file

A text file is a kind of computer file that is structured as a sequence of line . A text file exists within a computer file system. The end of a text file is often denoted by placing one or more special characters, known as an end-of-file marker, after the last line in a text file....
extension – have no format tags or styles, making the program suitable for editing system files that are to be used in a DOS
DOS

DOS, short for "Disk Operating System", is a shorthand term for several closely related operating systems that dominated the IBM PC compatible market between 1981 and 1995, or until about 2000 if one includes the partially DOS-based Microsoft Windows versions Windows 95, Windows 98, and Windows Me....
 environment.

One notable feature of Notepad is that it does not support formatting of any kind - if text/rich text is copied from a web page and pasted into a word processor, the formatting and embedded metadata comes along with the text, and can be difficult to remove.






Discussion
Ask a question about 'Notepad'
Start a new discussion about 'Notepad'
Answer questions from other users
Full Discussion Forum



Recent Posts









Encyclopedia


Notepad is a simple text editor
Text editor

A text editor is a type of software application used for editing plain text files.Text editors are often provided with operating systems or software development packages, and can be used to change configuration files and programming language source code....
 included in all versions of Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 since Windows 1.0
Windows 1.0

Windows 1.0 is a 16-bit graphical operating environment that was released on 20 November 1985. It was Microsoft's first attempt to implement a Computer multitasking graphical user interface-based operating environment on the personal computer platform....
 in 1985.

Overview

Notepad is a common text-only (also referred to as plain text
Plain text

In computing, plain text is a term used for an ordinary "unformatted" sequential file readable as textual material without much processing.The Character encoding has traditionally been either ASCII, one of its many derivatives such as ISO/IEC 646 etc., or sometimes EBCDIC....
) editor. The resulting files – typically saved with the .txt
Text file

A text file is a kind of computer file that is structured as a sequence of line . A text file exists within a computer file system. The end of a text file is often denoted by placing one or more special characters, known as an end-of-file marker, after the last line in a text file....
extension – have no format tags or styles, making the program suitable for editing system files that are to be used in a DOS
DOS

DOS, short for "Disk Operating System", is a shorthand term for several closely related operating systems that dominated the IBM PC compatible market between 1981 and 1995, or until about 2000 if one includes the partially DOS-based Microsoft Windows versions Windows 95, Windows 98, and Windows Me....
 environment.

One notable feature of Notepad is that it does not support formatting of any kind - if text/rich text is copied from a web page and pasted into a word processor, the formatting and embedded metadata comes along with the text, and can be difficult to remove. However, if text is copied from a formatted web site, pasted into Notepad, then copied again from Notepad before being pasted into a destination program, Notepad will have stripped all of the formatting. An alternative of this use is, however, provided in many word processors through the possibility to paste unformatted text, which may be easier to use with a little initial effort.

As an interesting aside, Notepad does support both left-to-right and right-to-left based languages, and one can alternate between these viewing formats by pressing and releasing the arrow key followed by Ctrl+Shift, using the right or left arrow and shift keys to go to right-to-left format or left-to-right format, respectively.

Notepad can edit files of almost any format; however, it does not treat Unix
Unix

Unix is a computer operating system originally developed in 1969 by a group of American Telephone & Telegraph employees at Bell Labs, including Ken Thompson , Dennis Ritchie, Douglas McIlroy, and Joe Ossanna....
- or Mac
Mac OS

Mac OS is the trademarked name for a series of graphical user interface-based operating systems developed by Apple Inc. for their Macintosh line of computer systems....
-style text files correctly (see newline
Newline

In computing, a newline is a special character or sequence of characters signifying the end of a line of text. The name comes from the fact that the next character after the newline will appear on a new line?that is, on the next line below the text, immediately proceeding the newline....
). Wordpad
WordPad

WordPad is a basic word processor that is included with almost all versions of Microsoft Windows from Windows 95 upwards. It is more advanced than Notepad but more simple than Microsoft Works Word Processor and Microsoft Word....
 however does.

Early versions of Notepad offered only the most basic functions, such as finding text. Newer versions of Windows include an updated version of Notepad with a search and replace function (Ctrl
Control key

In computing, a Control key is a modifier key which, when pressed in conjunction with another key, will perform a special operation ; similar to the Shift key, the Control key rarely performs any function when pressed by itself....
 + H), as well as Ctrl
Control key

In computing, a Control key is a modifier key which, when pressed in conjunction with another key, will perform a special operation ; similar to the Shift key, the Control key rarely performs any function when pressed by itself....
 + F for search and similar keyboard shortcuts. In older versions such as those included with Windows 95
Windows 95

Windows 95 is a consumer-oriented graphical user interface-based operating system. It was released on August 24, 1995 by Microsoft, and was a significant progression from the company's previous Microsoft Windows products....
, Windows 98
Windows 98

Windows 98 is a graphical operating system released on 25 June 1998 by Microsoft and the successor to Windows 95. Like its predecessor, it is a hybrid 16-bit application/32-bit application monolithic product based on MS-DOS....
, Windows Me
Windows Me

Windows Millennium Edition, or Windows Me , is a hybrid 16-bit/32-bit graphical operating system released on 14 September 2000 by Microsoft....
 and Windows 3.1, there is a 64k limit on the size of the file being edited, an operating system limit of the EDIT class.

Up to Windows 95
Windows 95

Windows 95 is a consumer-oriented graphical user interface-based operating system. It was released on August 24, 1995 by Microsoft, and was a significant progression from the company's previous Microsoft Windows products....
, Fixedsys
Fixedsys

Fixedsys is a family of raster monospaced typefaces for Microsoft Windows. The name means fixed system, although it is often pronounced "fixed size" because its glyphs are monospace or fixed-width ....
 was the only available font
Font

In typography, a font is traditionally defined as a complete character set of a single size and style of a particular typeface. For example, the set of all characters for 9-point Bulmer italic type is a font, and the 10-point size would be a separate font, as would the 9 point upright....
 for Notepad. Windows NT 4.0
Windows NT 4.0

Windows NT 4.0 is a Preemption , Graphical user interface and business-oriented operating system designed to work with either uniprocessor or Symmetric multiprocessing computers....
 and 98
Windows 98

Windows 98 is a graphical operating system released on 25 June 1998 by Microsoft and the successor to Windows 95. Like its predecessor, it is a hybrid 16-bit application/32-bit application monolithic product based on MS-DOS....
 introduced the ability to change this font. In Windows 2000
Windows 2000

Windows 2000 is a line of operating systems produced by Microsoft for use on business desktops, Laptop, and Server . Released on 17 February, 2000, it was the successor to Windows NT 4.0, and is the final release of Microsoft Windows to display the "Windows NT" designation....
 and XP
Windows XP

Windows XP is a line of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptop, and media centers....
 the default font was changed to Lucida Console.

Up to Windows Me
Windows Me

Windows Millennium Edition, or Windows Me , is a hybrid 16-bit/32-bit graphical operating system released on 14 September 2000 by Microsoft....
, there were almost no keyboard shortcuts and no line-counting feature. Starting with Windows 2000
Windows 2000

Windows 2000 is a line of operating systems produced by Microsoft for use on business desktops, Laptop, and Server . Released on 17 February, 2000, it was the successor to Windows NT 4.0, and is the final release of Microsoft Windows to display the "Windows NT" designation....
, shortcuts for common tasks like new, open and save were added, as well as a status-bar with a line counter (available only when word-wrap is disabled).

In the Windows NT
Windows NT

Windows NT is a family of operating systems produced by Microsoft, the first version of which was released in July 1993. It was originally designed to be a powerful high-level-language-based, processor-independent, multiprocessing, multiuser operating system with features comparable to Unix....
-based versions of Windows, Notepad can edit traditional 8-bit text files as well as Unicode
Unicode

Unicode is a computing industry standard allowing computers to consistently represent and manipulate Character expressed in most of the world's writing systems....
 text files (both UTF-8
UTF-8

UTF-8 is a Variable-width encoding character encoding for Unicode. It is able to represent any character in the Unicode standard, yet the initial encoding of byte codes and character assignments for UTF-8 is backward compatibility with ASCII....
 and UTF-16, and in case of UTF-16, both little-endian and big-endian; see Endianness
Endianness

In computing, endianness is the byte ordering used to represent some kind of data. Typical cases are the order in which integer values are stored as bytes in computer memory and the transmission order over a network or other medium....
.)

Notepad makes use of a built-in window class
Window class

In computer programming a window class is a structure fundamental to the Microsoft Windows operating systems and its Application Programming Interface ....
 named "EDIT".

Notepad also has a built-in simple logging function, which simply inserts a new timestamp each time the file is opened. To activate this feature, the first line of the text file must be “.LOG”, without the quotes.

Notepad may be used as a text-based HTML
HTML

HTML, an Acronym and initialism of HyperText Markup Language, is the predominant markup language for Web pages. It provides a means to describe the structure of text-based information in a document?by denoting certain text as links, headings, paragraphs, lists, and so on?and to supplement that text with interactive forms, embedded '...
 editor for its pure simplicity and more control over WYSIWYG
WYSIWYG

WYSIWYG , is an acronym for What You See Is What You Get, used in computing to describe a system in which content displayed during editing appears very similar to the final output, which might be a printed document, web page, slide presentation or even the lighting for a theatrical event....
 editors. However, because it lacks many features, such as syntax highlighting
Syntax highlighting

Syntax highlighting is a feature of some text editors that displays text—especially source code—in different colors and typefaces according to the category of terms....
, web developers may favor more specialized editors for this purpose (see List of text editors
List of text editors

The following is a list of text editors. For a list of outliners, see that article's external links....
).

Unicode detection

The Windows NT version of Notepad, installed by default on Windows 2000 and Windows XP, has the ability to detect Unicode files even when they are missing a byte order mark
Byte Order Mark

A byte-order mark is the Unicode character at code point U+FEFF when that character is used to denote the endianness of a string of Universal Character Set/Unicode characters encoded in UTF-16 or UTF-32....
. To do this, it utilizes a Windows API function called IsTextUnicode. However, this function is imperfect, incorrectly identifying some all-lowercase ASCII
ASCII

American Standard Code for Information Interchange , is a coding standard that can be used for interchanging information, if the information is expressed mainly by the written form of English words....
 text as UTF-16. As a result, Notepad interprets a file containing a phrase like "aaaa aaa aaa aaaaa" as two-byte Unicode text file and attempts to display it as such. If a font with support for Chinese is installed, Chinese characters are displayed.

A few people misinterpreted this issue for an easter egg. Many phrases which fit the pattern (including "this app can break" and "Bush hid the facts
Bush hid the facts

Bush hid the facts is the common name for a Software bug present in the charset detection of all versions of Microsoft Notepad in Windows 2000 and Windows XP, which causes a file of text encoded in Windows-1252 or similar encoding to be interpreted as if it was UTF-16, resulting in mojibake....
") appeared on the web as hoax
Hoax

A hoax is a deliberate attempt to dupe, deceive or deception an audience into believing, or accepting, that something is real, when in fact it is not; or that something is true, when in fact it is false....
es. Experts correctly attributed it to the Unicode detection algorithm.

This issue has been resolved in Windows Vista
Windows Vista

Windows Vista is one member in a family of operating systems developed by Microsoft for use on personal computers, including home and business Desktop computer, laptops, Tablet PCs, and media center PCs....
 version of Notepad.

Competing software

Notepad does not require a lock on the file it opens, so it can open files already opened by other processes, users or computers, whereas WordPad cannot. Also, since Notepad lacks advanced formatting functionality, many people find its simple interface faster and easier to use for basic text operations. The DOS EDIT text editor, especially as updated in Windows 95, where it became an MDI
Multiple document interface

Graphical computer applications with a multiple document interface are those whose windows reside under a single parent window , as opposed to all windows being separate from each other ....
 application, also provides many features never offered by Notepad.

There are many third-party replacements for Notepad with additional functionality, including both free software
Free software

Free Software or software libre is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things and to prevent consumer-facing hardware...
 (e.g. Notepad++
Notepad++

Notepad++ is a source code editor for Microsoft Windows. It is distributed as free software. The project is hosted on SourceForge.net, from where it has been downloaded over thirteen million times....
 and Notepad2
Notepad2

Notepad2 is an open-source software text editor for Microsoft Windows, released under a BSD licenses software license. It is written by Florian Balmer using the Scintilla , and was first publicly released in April 2004....
) and freeware
Freeware

Freeware is computer software that is available for use at no cost or for an optional fee. Freeware is different from shareware; the latter obliges the user to pay ....
 (e.g. TED Notepad
TED Notepad

TED Notepad is a freeware Portable application text editor for Microsoft Windows. The software has been developed by Juraj Simlovic since 2001, originally as a school project....
).

Notepad lacks many features available in other text editors, such as regular expressions, macros, block-select, and MDI
Multiple document interface

Graphical computer applications with a multiple document interface are those whose windows reside under a single parent window , as opposed to all windows being separate from each other ....
.

See also

  • Comparison of text editors
    Comparison of text editors

    This article provides a basic feature comparison for several text editors. Additional feature details are available from the :Category:Text editor features and from the individual products' articles....
  • List of text editors
    List of text editors

    The following is a list of text editors. For a list of outliners, see that article's external links....


External links

  • at Microsoft.com