<s>
DOSKEY	B-Device
is	O
a	O
command	B-Application
for	O
DOS	B-Device
,	O
IBM	B-Application
OS/2	I-Application
,	O
Microsoft	B-Application
Windows	I-Application
,	O
and	O
ReactOS	B-Application
that	O
adds	O
command	B-Application
history	I-Application
,	O
macro	O
functionality	O
,	O
and	O
improved	O
editing	O
features	O
to	O
the	O
command-line	O
interpreters	O
COMMAND.COM	B-Operating_System
and	O
cmd.exe	B-Device
.	O
</s>
<s>
The	O
command	B-Application
was	O
included	O
as	O
a	O
terminate-and-stay-resident	O
program	O
with	O
MS-DOS	B-Application
and	O
PC	O
DOS	B-Device
versions	O
5	O
and	O
later	O
,	O
then	O
Windows	B-Application
9x	O
,	O
and	O
finally	O
Windows	B-Application
2000	I-Application
and	O
later	O
.	O
</s>
<s>
In	O
early	O
1989	O
,	O
functionality	O
similar	O
to	O
DOSKEY	B-Device
was	O
introduced	O
with	O
DR-DOS	B-Application
3.40	O
with	O
its	O
HISTORY	B-Device
CONFIG.SYS	B-Device
directive	O
.	O
</s>
<s>
This	O
enabled	O
a	O
user-configurable	O
console	O
input	O
history	B-Device
buffer	O
and	O
recall	O
as	O
well	O
as	O
pattern	O
search	O
functionality	O
on	O
the	O
console	O
driver	O
level	O
,	O
that	O
is	O
,	O
fully	O
integrated	O
into	O
the	O
operating	O
system	O
and	O
transparent	O
to	O
running	O
applications	O
.	O
</s>
<s>
In	O
the	O
summer	O
of	O
1991	O
,	O
DOSKEY	B-Device
was	O
introduced	O
in	O
MS-DOS/PCDOS	O
5.0	O
in	O
order	O
to	O
provide	O
some	O
of	O
the	O
same	O
functionality	O
.	O
</s>
<s>
DOSKEY	B-Device
also	O
added	O
a	O
macro	O
expansion	O
facility	O
,	O
though	O
special	O
support	O
was	O
required	O
before	O
applications	O
such	O
as	O
command	B-Application
line	O
processors	O
could	O
take	O
advantage	O
of	O
it	O
.	O
</s>
<s>
Starting	O
with	O
Novell	O
DOS	B-Device
7	O
in	O
1993	O
,	O
the	O
macro	O
capabilities	O
were	O
provided	O
by	O
an	O
external	O
DOSKEY	B-Device
command	B-Application
as	O
well	O
.	O
</s>
<s>
In	O
order	O
to	O
also	O
emulate	O
the	O
DOSKEY	B-Device
history	B-Device
buffer	O
functionality	O
under	O
DR-DOS	B-Application
,	O
the	O
DR-DOS	B-Application
DOSKEY	B-Device
worked	O
as	O
a	O
front	O
end	B-Device
to	O
the	O
resident	O
history	B-Device
buffer	O
functionality	O
,	O
which	O
remained	O
part	O
of	O
the	O
kernel	O
.	O
</s>
<s>
DOSKEY	B-Device
has	O
also	O
been	O
included	O
in	O
IBM	B-Application
OS/2	I-Application
Version	O
2.0	O
.	O
</s>
<s>
In	O
current	O
Windows	O
NT-based	O
operating	O
systems	O
,	O
the	O
DOSKEY	B-Device
functionality	O
is	O
built	O
into	O
CMD.EXE	B-Device
,	O
although	O
the	O
DOSKEY	B-Device
command	B-Application
is	O
still	O
used	O
to	O
change	O
its	O
operation	O
.	O
</s>
<s>
The	O
DOSKEY	B-Device
command	B-Application
is	O
not	O
available	O
in	O
FreeDOS	B-Application
,	O
which	O
has	O
such	O
features	O
built	O
into	O
the	O
command	B-Application
interpreter	O
.	O
</s>
<s>
DOSKEY	B-Device
allows	O
the	O
use	O
of	O
several	O
command	B-Application
switches	O
:	O
</s>
<s>
Installs	O
a	O
new	O
copy	O
of	O
DOSKEY	B-Device
.	O
</s>
<s>
Sets	O
size	O
of	O
command	B-Application
history	I-Application
buffer	O
to	O
size	O
.	O
</s>
<s>
Displays	O
all	O
DOSKEY	B-Device
macros	O
.	O
</s>
<s>
Displays	O
all	O
DOSKEY	B-Device
macros	O
for	O
all	O
executables	O
which	O
have	O
DOSKEY	B-Device
macros	O
.	O
</s>
<s>
Displays	O
all	O
DOSKEY	B-Device
macros	O
for	O
the	O
given	O
executable	O
.	O
</s>
<s>
During	O
a	O
DOSKEY	B-Device
session	O
,	O
the	O
following	O
keyboard	O
shortcuts	O
can	O
be	O
used	O
:	O
</s>
<s>
Clears	O
command	B-Application
line	O
from	O
the	O
cursor	O
to	O
the	O
beginning	O
of	O
the	O
line	O
.	O
</s>
<s>
Clears	O
command	B-Application
line	O
from	O
the	O
cursor	O
to	O
the	O
end	B-Device
of	O
the	O
line	O
.	O
</s>
<s>
DOSKEY	B-Device
implements	O
support	O
for	O
command	B-Application
macros	O
,	O
a	O
simple	O
text-substitution	O
facility	O
which	O
is	O
used	O
somewhat	O
like	O
command	B-Application
line	O
aliases	B-Device
in	O
other	O
environments	O
.	O
</s>
<s>
Command	B-Application
separator	O
.	O
</s>
<s>
Symbol	O
replaced	O
by	O
everything	O
following	O
the	O
macro	O
name	O
on	O
command	B-Application
line	O
.	O
</s>
<s>
The	O
absence	O
of	O
a	O
command	B-Application
history	I-Application
in	O
COMMAND.COM	B-Operating_System
was	O
a	O
serious	O
inconvenience	O
ever	O
since	O
the	O
earliest	O
versions	O
of	O
MS-DOS	B-Application
.	O
</s>
<s>
Numerous	O
third-party	O
programs	O
have	O
been	O
written	O
to	O
address	O
the	O
issue	O
;	O
many	O
were	O
available	O
long	O
before	O
Microsoft	O
supplied	O
DOSKEY	B-Device
.	O
</s>
<s>
Some	O
of	O
them	O
,	O
including	O
JP	B-Application
Software	I-Application
's	O
4DOS	B-Application
and	O
NDOS	B-Application
,	O
also	O
provide	O
additional	O
editing	O
capabilities	O
lacking	O
in	O
DOSKEY	B-Device
,	O
such	O
as	O
filename	O
completion	O
.	O
</s>
<s>
Some	O
of	O
the	O
better-known	O
DOSKEY	B-Device
alternatives	O
are	O
Jack	O
Gersbach	O
's	O
DOSEDIT	O
,	O
Chris	O
Dunford	O
's	O
CED	O
,	O
Sverre	O
Huseby	O
's	O
DOSED	O
,	O
Ashok	O
Nadkarni	O
's	O
CMDEDIT	O
,	O
Steven	O
Calwas	O
's	O
ANARKEY	O
,	O
Eric	O
Tauck	O
's	O
TODDY	O
,	O
and	O
enhanced	O
DOSKEY	B-Device
written	O
by	O
Paul	O
Houle	O
.	O
</s>
<s>
Paul	O
Houle	O
's	O
Enhanced	O
DOSKEY	B-Device
is	O
designed	O
to	O
be	O
an	O
enhanced	O
drop-in	O
replacement	O
for	O
the	O
DOSKEY.COM	B-Device
that	O
ships	O
with	O
MS-DOS	B-Application
and	O
Windows	B-Application
9x/Windows	O
Me	O
.	O
</s>
<s>
The	O
primary	O
added	O
feature	O
is	O
command	B-Application
and	O
file	O
"	O
auto-completion	O
"	O
via	O
the	O
Tab	O
key	O
.	O
</s>
