<s>
In	O
computing	O
,	O
sys	B-Language
is	O
a	O
command	B-Application
used	O
in	O
many	O
operating	B-General_Concept
system	I-General_Concept
command-line	B-Application
shells	B-Operating_System
and	O
also	O
in	O
Microsoft	B-Language
BASIC	I-Language
.	O
</s>
<s>
SYS	B-Language
is	O
an	O
external	O
command	B-Application
of	O
Seattle	B-Operating_System
Computer	I-Operating_System
Products	I-Operating_System
86-DOS	I-Operating_System
,	O
Microsoft	B-Application
MS-DOS	I-Application
,	O
IBM	B-Operating_System
PC	I-Operating_System
DOS	I-Operating_System
,	O
Digital	B-Operating_System
Research	I-Operating_System
FlexOS	I-Operating_System
,	O
IBM/Toshiba	O
4690	B-Language
OS	I-Language
,	O
PTS-DOS	B-Operating_System
,	O
Itautec/Scopus	O
Tecnologia	O
SISNE	B-Operating_System
plus	I-Operating_System
,	O
and	O
Microsoft	B-Application
Windows	I-Application
9x	O
operating	B-General_Concept
systems	I-General_Concept
.	O
</s>
<s>
It	O
will	O
install	O
a	O
boot	B-Device
sector	I-Device
capable	O
of	O
booting	O
the	O
operating	B-General_Concept
system	I-General_Concept
into	O
the	O
first	O
logical	O
sector	O
of	O
the	O
volume	O
.	O
</s>
<s>
Further	O
,	O
it	O
will	O
copy	O
the	O
principal	O
DOS	O
system	O
files	O
,	O
that	O
is	O
,	O
the	O
DOS-BIOS	O
(	O
IO.SYS	O
or	O
IBMBIO.COM	O
)	O
and	O
the	O
DOS	O
kernel	B-Operating_System
(	O
MSDOS.SYS	O
or	O
IBMDOS.COM	O
)	O
into	O
the	O
root	O
directory	O
of	O
the	O
target	O
.	O
</s>
<s>
Due	O
to	O
restrictions	O
in	O
the	O
implementation	O
of	O
the	O
boot	B-Application
loaders	I-Application
in	O
the	O
boot	B-Device
sector	I-Device
and	O
DOS	O
 '	O
IO	O
system	O
,	O
these	O
two	O
files	O
must	O
reside	O
in	O
the	O
first	O
two	O
directory	O
entries	O
and	O
be	O
stored	O
at	O
the	O
beginning	O
of	O
the	O
data	O
area	O
under	O
MS-DOS	B-Application
and	O
PC	B-Operating_System
DOS	I-Operating_System
.	O
</s>
<s>
Depending	O
on	O
version	O
,	O
the	O
whole	O
files	O
or	O
only	O
a	O
varying	O
number	O
of	O
sectors	O
of	O
the	O
DOS-BIOS	O
(	O
down	O
to	O
only	O
three	O
sectors	O
in	O
modern	O
issues	O
of	O
DOS	O
)	O
will	O
have	O
to	O
be	O
stored	O
in	O
one	O
consecutive	O
part	O
.	O
</s>
<s>
SYS	B-Language
will	O
try	O
to	O
physically	O
rearrange	O
other	O
files	O
on	O
the	O
medium	O
in	O
order	O
to	O
make	O
room	O
for	O
these	O
files	O
in	O
their	O
required	O
locations	O
.	O
</s>
<s>
This	O
is	O
why	O
SYS	B-Language
needs	O
to	O
bypass	O
the	O
filesystem	O
driver	O
in	O
the	O
running	O
operating	B-General_Concept
system	I-General_Concept
.	O
</s>
<s>
Other	O
DOS	O
derivatives	O
such	O
as	O
DR-DOS	B-Application
do	O
not	O
have	O
any	O
such	O
restrictions	O
imposed	O
by	O
the	O
design	O
of	O
the	O
boot	B-Application
loaders	I-Application
,	O
therefore	O
under	O
these	O
systems	O
,	O
SYS	B-Language
will	O
install	O
a	O
DR-DOS	B-Application
boot	B-Device
sector	I-Device
,	O
which	O
is	O
capable	O
of	O
mounting	O
the	O
filesystem	O
,	O
and	O
can	O
then	O
simply	O
copy	O
the	O
two	O
system	O
files	O
into	O
the	O
root	O
directory	O
of	O
the	O
target	O
.	O
</s>
<s>
SYS	B-Language
will	O
also	O
copy	O
the	O
command	B-Application
line	I-Application
shell	B-Operating_System
(	O
COMMAND.COM	B-Operating_System
)	O
into	O
the	O
root	O
directory	O
.	O
</s>
<s>
The	O
command	B-Application
can	O
be	O
applied	O
to	O
hard	B-Device
drives	I-Device
and	O
floppy	B-Device
disks	I-Device
to	O
repair	O
or	O
create	O
a	O
boot	B-Device
sector	I-Device
.	O
</s>
<s>
Although	O
an	O
article	O
on	O
Microsoft	O
's	O
website	O
says	O
the	O
SYS	B-Language
command	I-Language
was	O
introduced	O
in	O
MS-DOS	B-Application
version	O
2.0	O
,	O
this	O
is	O
incorrect	O
.	O
</s>
<s>
SYS	B-Language
actually	O
existed	O
in	O
86-DOS	B-Operating_System
0.3	O
already	O
.	O
</s>
<s>
According	O
to	O
The	O
MS-DOS	B-Application
Encyclopedia	O
,	O
the	O
command	B-Application
was	O
licensed	O
to	O
IBM	O
as	O
part	O
of	O
the	O
first	O
version	O
of	O
MS-DOS	B-Application
,	O
and	O
as	O
such	O
it	O
was	O
part	O
of	O
MS-DOS/PC	O
DOS	O
from	O
the	O
very	O
beginning	O
(	O
IBM	B-Operating_System
PC	I-Operating_System
DOS	I-Operating_System
1.0	O
and	O
MS-DOS	B-Application
1.25	O
)	O
.	O
</s>
<s>
DR	B-Application
DOS	I-Application
6.0	O
includes	O
an	O
implementation	O
of	O
the	O
command	B-Application
.	O
</s>
<s>
The	O
command	B-Application
syntax	B-Application
is	O
:	O
</s>
<s>
SYS	B-Language
 [ drive1: ]  [ path ] 	O
drive2	O
:	O
</s>
<s>
SYS	B-Language
is	O
also	O
a	O
command	B-Application
in	O
Microsoft	B-Language
BASIC	I-Language
used	O
to	O
execute	O
a	O
machine	B-Language
language	I-Language
program	O
in	O
memory	O
.	O
</s>
<s>
The	O
command	B-Application
took	O
the	O
form	O
SYS	B-Language
n	O
where	O
n	O
is	O
a	O
memory	B-General_Concept
location	I-General_Concept
where	O
the	O
executable	O
code	O
starts	O
.	O
</s>
<s>
Home	O
computer	O
platforms	O
typically	O
publicised	O
dozens	O
of	O
entry	B-Language
points	I-Language
to	O
built-in	O
routines	O
(	O
such	O
as	O
Commodore	O
's	O
KERNAL	B-Operating_System
)	O
that	O
were	O
used	O
by	O
programmers	O
and	O
users	O
to	O
access	O
functionality	O
not	O
easily	O
accessible	O
through	O
BASIC	O
.	O
</s>
