Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

SYS (command)

From Wikipedia, the free encyclopedia
(Redirected fromSYS (DOS command))
Computing command
sys
Original author(s)Tim Paterson
Developer(s)Seattle Computer Products,Microsoft,Digital Research,IBM,Toshiba
Initial release1980; 45 years ago (1980)
Written inMS-DOS:x86 assembly language
Operating system86-DOS,MS-DOS,PC DOS,FlexOS,4690 OS,PTS-DOS,SISNE plus,Windows,DR-DOS
TypeCommand
LicenseMS-DOS:MIT

Incomputing,sys is acommand used in manyoperating systemcommand-lineshells and also inMicrosoft BASIC.

DOS, Windows, etc.

[edit]
SYS.COM (among other commands) inIBM PC DOS 1.0.

SYS is an external command ofSeattle Computer Products86-DOS,[1]MicrosoftMS-DOS,IBMPC DOS,Digital ResearchFlexOS,[2]IBM/Toshiba4690 OS,[3]PTS-DOS,[4]Itautec/Scopus TecnologiaSISNE plus,[5] and MicrosoftWindows 9x operating systems. It is used to make an already formatted medium bootable. It will install aboot sector capable of booting the operating system into the first logical sector of the volume. Further, it will copy the principal DOS system files, that is, the DOS-BIOS (IO.SYS orIBMBIO.COM) and the DOSkernel (MSDOS.SYS orIBMDOS.COM) into the root directory of the target. Due to restrictions in the implementation of theboot loaders in the boot sector and DOS' IO system, these two files must reside in the first two directory entries and be stored at the beginning of the data area under MS-DOS and PC DOS. Depending on version, the whole files or only a varying number of sectors of the DOS-BIOS (down to only three sectors in modern issues of DOS) will have to be stored in one consecutive part. SYS will try to physically rearrange other files on the medium in order to make room for these files in their required locations. This is why SYS needs to bypass the filesystem driver in the running operating system. Other DOS derivatives such asDR-DOS do not have any such restrictions imposed by the design of the boot loaders, therefore under these systems, SYS will install a DR-DOS boot sector, which is capable of mounting the filesystem, and can then simply copy the two system files into the root directory of the target.SYS will also copy thecommand lineshell (COMMAND.COM) into the root directory.[6] Thecommand can be applied tohard drives andfloppy disks to repair or create a boot sector.

Although an article on Microsoft's website says theSYS command was introduced inMS-DOS version 2.0,[7] this is incorrect. SYS actually existed in86-DOS 0.3 already. According toThe MS-DOS Encyclopedia, the command was licensed toIBM as part of the first version of MS-DOS,[8] and as such it was part of MS-DOS/PC DOS from the very beginning (IBM PC DOS 1.0 and MS-DOS 1.25).

DR DOS 6.0 includes an implementation of theSYS command.[9]

Syntax

[edit]

The commandsyntax is:

SYS [drive1:][path] drive2:

Arguments:

  • [drive1:][path] – The location of the system files
  • drive2: – The drive to which the files will be copied

Example

[edit]
C:\>sys a:

Microsoft BASIC

[edit]

SYS is also a command in Microsoft BASIC used to execute amachine language program in memory. The command took the formSYS n wheren is amemory location where the executable code starts.Home computer platforms typically publicised dozens ofentry points to built-in routines (such as Commodore'sKERNAL[10]) that were used by programmers and users to access functionality not easily accessible through BASIC.

See also

[edit]

References

[edit]
  1. ^86-DOS - Disk Operating System for the 8086 - User's Manual(PDF). Version 0.3 (Preliminary ed.). Seattle, Washington, USA:Seattle Computer Products, Inc. 1980. Archived fromthe original(PDF) on 2019-07-14. Retrieved2019-07-14. (59 pages)
  2. ^"FlexOS User's Guide"(PDF). Archived fromthe original(PDF) on 2019-09-25.
  3. ^https://archive.org/details/4690OSV6r2UsersGuide/page/n169[dead link]
  4. ^"PTS-DOS 2000 Pro User Manual"(PDF). Buggingen, Germany:Paragon Technology GmbH. 1999.Archived(PDF) from the original on 2018-05-12. Retrieved2018-05-12.
  5. ^SISNE plus - Referência Sumária | Datassette
  6. ^"Sys Command".www.computerhope.com.
  7. ^SYS.COM Requirements in MS-DOS versions 2.0-6.0
  8. ^Zbikowski, Mark;Allen, Paul;Ballmer, Steve; Borman, Reuben; Borman, Rob; Butler, John; Carroll, Chuck; Chamberlain, Mark; Chell, David; Colee, Mike; Courtney, Mike; Dryfoos, Mike; Duncan, Rachel; Eckhardt, Kurt; Evans, Eric; Farmer, Rick;Gates, Bill; Geary, Michael; Griffin, Bob; Hogarth, Doug; Johnson, James W.; Kermaani, Kaamel; King, Adrian; Koch, Reed; Landowski, James; Larson, Chris; Lennon, Thomas; Lipkie, Dan;McDonald, Marc; McKinney, Bruce; Martin, Pascal; Mathers, Estelle; Matthews, Bob; Melin, David; Mergentime, Charles; Nevin, Randy; Newell, Dan; Newell, Tani; Norris, David; O'Leary, Mike;O'Rear, Bob; Olsson, Mike; Osterman, Larry; Ostling, Ridge; Pai, Sunil;Paterson, Tim; Perez, Gary; Peters, Chris;Petzold, Charles; Pollock, John;Reynolds, Aaron; Rubin, Darryl; Ryan, Ralph; Schulmeisters, Karl; Shah, Rajen; Shaw, Barry; Short, Anthony; Slivka, Ben; Smirl, Jon; Stillmaker, Betty; Stoddard, John; Tillman, Dennis; Whitten, Greg; Yount, Natalie; Zeck, Steve (1988). "Technical advisors".The MS-DOS Encyclopedia: versions 1.0 through 3.2. By Duncan, Ray; Bostwick, Steve; Burgoyne, Keith; Byers, Robert A.; Hogan, Thom; Kyle, Jim;Letwin, Gordon;Petzold, Charles; Rabinowitz, Chip; Tomlin, Jim; Wilton, Richard; Wolverton, Van; Wong, William; Woodcock, JoAnne (Completely reworked ed.). Redmond, Washington, USA:Microsoft Press. p. 940.ISBN 1-55615-049-0.LCCN 87-21452.OCLC 16581341. (xix+1570 pages; 26 cm) (NB. This edition was published in 1988 after extensive rework of the withdrawn 1986 first edition by a different team of authors.[1])
  9. ^DR DOS 6.0 User Guide Optimisation and Configuration Tips
  10. ^"SYS - C64-Wiki".www.c64-wiki.com.

Further reading

[edit]

External links

[edit]
Wikibooks has a book on the topic of:Guide to Windows Commands
Ecosystem
Interpreters
Terminals
File system navigation
File management
Archiving
Disk management
Processes
Registry
User environment
File contents
Scripting
Networking
Maintenance and care
Boot management
Software development
Miscellaneous
Retrieved from "https://en.wikipedia.org/w/index.php?title=SYS_(command)&oldid=1257214696"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp