FACTOID # 180: Mali and Niger have 7 children born per woman, yet their populations grow at less than 3% per year.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > DOSKey

DOSKey is a utility for MS-DOS and Microsoft Windows that adds command history, macro functionality, and improved editing features to the command line interpreters COMMAND.COM and cmd.exe. It was included as a TSR program with MS-DOS and PC-DOS versions 5 and later, and with Microsoft's Windows 95/98/Me. Microsofts disk operating system, MS-DOS, was Microsofts implementation of DOS, which was the first popular operating system for the IBM PC, and until recently, was widely used on the PC compatible platform. ... Microsoft Windows is the name of several families of proprietary software operating systems by Microsoft. ... Command history is a common feature in command line interface, such as in operating system shells, computer algebra programs and other software that interact with the user through a command line. ... A macro in computer science is an abstraction, that defines how a certain input pattern is replaced by an output pattern according to a defined set of rules. ... It has been suggested that this article or section be merged into Command line interface. ... COMMAND.COM is the name for the default operating system shell (or command line interpreter) for DOS and 16/32bits versions of Windows (95/98/98 SE/Me). ... This article needs additional references or sources for verification. ... Terminate and Stay Resident (TSR) is a system call in DOS operating systems that returned control to the system as if the program had quit, but kept the program in memory. ... IBM PC-DOS was one of the three major operating systems that dominated the personal computer market from about 1985 to 1995. ... Windows 95 is a consumer-oriented graphical user interface-based operating system. ... Windows 98 (codenamed Memphis and formerly known as Windows 97) is a graphical operating system released on June 25, 1998 by Microsoft and the successor to Windows 95. ... Windows Millennium Edition, or Windows Me (IPA pronunciation: [miː], [ɛm iː]), is a hybrid 16-bit/32-bit graphical operating system released on September 14, 2000 by Microsoft. ...


In current Windows NT-based operating systems DOSKey's functionality is built into cmd.exe, although the DOSKey command is still used to change its operation. Windows NT is a family of operating systems produced by Microsoft, the first version of which was released in July 1993. ... This article needs additional references or sources for verification. ...

Contents

Usage

DOSKey allows the use of several command switches: In computer software, specifically command line interfaces, a switch (also known as option, command-line parameter, or command-line argument) is an indication by a user that a computer program should change its default behaviour. ...


DOSKEY [/switch ...] [macroname=[text]]

/REINSTALL Installs a new copy of DOSKey.
/LISTSIZE=[size] Sets size of command history buffer to size.
/MACROS Displays all DOSKey macros.
  • /MACROS:ALL
Displays all DOSKey macros for all executables which have DOSKey macros.
  • /MACROS:[executable name]
Displays all DOSKey macros for the given executable.
/HISTORY Displays all commands stored in memory.
/INSERT Specifies that new text you type is inserted in old text.
/OVERSTRIKE Specifies that new text overwrites old text.
/EXENAME=exename Specifies the executable.
/MACROFILE=filename Specifies a file of macros to install.
[macroname] Specifies a name for a macro you create.
[text] Specifies commands you want to record.

During a DOSKey session, the following keyboard shortcuts can be used: A keyboard shortcut (also known as an accelerator key, shortcut key, or hotkey) is one or a set of keyboard keys that, when pressed simultaneously, perform a predefined task. ...

Up and Down Recall commands
Esc Clears command line
F7 Displays command history
Alt-F7 Clears command history
F8 Searches command history
F9 Selects a command by number
Alt-F10 Clears macro definitions

DOSKey implements support for command macros, a simple text-substitution facility which is used somewhat like command line aliases in other environments. DOSKey macro definitions can use the following special codes: A computer keyboard. ... The Alt key on a modern Windows keyboard The Alt key on an IBM PC keyboard is the key located immediately to either side of the Space bar, used to change (alternate) the function of other pressed keys. ... A macro in computer science is an abstraction, that defines how a certain input pattern is replaced by an output pattern according to a defined set of rules. ... In Unix shells (like csh, bash, etc. ...

$T Command separator. Allows multiple commands in a macro.
$1-$9 Batch parameters. Equivalent to %1-%9 in batch programs.
$* Symbol replaced by everything following the macro name on command line.

Alternatives

The absence of a command history in COMMAND.COM was a serious inconvenience from the earliest versions of MS-DOS. Numerous third-party programs have been written to address the issue; many were available long before Microsoft supplied DOSKey. Some of these also provide additional editing capabilities lacking in DOSKey, such as filename completion. Some of the better-known DOSKey alternatives are Chris Dunford's ced, Sverre Huseby's dosed, Ashok Nadkarni's cmdedit, Steven Calwas's Anarkey, and Eric Tauck's Toddy. Tab completion is a function of many command line interfaces, especially Unix shells, that allows portions of an incomplete filename or commands to be filled in when the Tab key is pressed. ...


See also

A partial list of the most common commands for Microsofts MS-DOS operating system follows. ... Microsofts disk operating system, MS-DOS, was Microsofts implementation of DOS, which was the first popular operating system for the IBM PC, and until recently, was widely used on the PC compatible platform. ...

External links

  • Doskey.exe on Windows NT
  • Doskey.exe on Windows XP
  • DOSKey Examples

  Results from FactBites:
 
DOSKey - Wikipedia, the free encyclopedia (152 words)
DOSKey was a utility for MS-DOS that adds command history and macro functionality to the DOS prompt.
It is built into cmd.exe in Windows NT, although the DOSKey command is still used to change it's operation.
Displays all DOSKey macros for all executables which have DOSKey macros.
About Henry Doskey (430 words)
Henry Doskey is a native of New Orleans, where he began his music studies with William Gillock in the mid-1950's, and saw many Gillock works as they appeared in manuscript, even playing some before they were published.
In 1999 Doskey was invited to perform a solo recital at the Central Conservatory of Beijing, the major music school of the People's Republic of China; he also conducted a masterclass for students there.
Doskey is also known for his special performances of the music of Chopin, Debussy, Rachmaninoff, Prokofiev, Beethoven and Scriabin, among others.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m