SYS (command)

sys
Original author(s)Tim Paterson
Developer(s)Seattle Computer Products, Microsoft, Digital Research, IBM, Toshiba
Initial release1980; 44 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

In computing, sys is a command used in many operating system command-line shells and also in Microsoft BASIC.

DOS, Windows, etc.

SYS.COM (among other commands) in IBM PC DOS 1.0.

SYS is an external command of Seattle Computer Products 86-DOS,[1] Microsoft MS-DOS, IBM PC DOS, Digital Research FlexOS,[2] IBM/Toshiba 4690 OS,[3] PTS-DOS,[4] Itautec/Scopus Tecnologia SISNE plus,[5] and Microsoft Windows 9x operating systems. It is used to make an already formatted medium bootable. It will install a boot 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 or IBMBIO.COM) and the DOS kernel (MSDOS.SYS or IBMDOS.COM) into the root directory of the target. Due to restrictions in the implementation of the boot 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 as DR-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 the command line shell (COMMAND.COM) into the root directory.[6] The command can be applied to hard drives and floppy disks to repair or create a boot sector.

Although an article on Microsoft's website says the SYS command was introduced in MS-DOS version 2.0,[7] this is incorrect. SYS actually existed in 86-DOS 0.3 already. According to The MS-DOS Encyclopedia, the command was licensed to IBM 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 the SYS command.[9]

Syntax

The command syntax 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

C:\>sys a:

Microsoft BASIC

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

See also

References

  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 from the original (PDF) on 2019-07-14. Retrieved 2019-07-14. (59 pages)
  2. ^ "FlexOS User's Guide" (PDF). Archived from the 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. Retrieved 2018-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

Read other articles:

Mehmed Çelebiچلبی محمدSultan Utsmaniyah Ke-5Berkuasa5 Juli 1413 – 26 Mei 1421PendahuluOttoman Interregnum Masa Perang Saudara (1402–1413)Bayezid IPenerusMurad IIInformasi pribadiKelahiran1389Bursa, Kesultanan UtsmaniyahKematian26 Mei 1421Bursa, Kesultanan UtsmaniyahPemakamanMakam Hijau, Bursa, TurkiWangsaUtsmaniyahAyahBayezid IIbuDevlet HatunPasanganEmine HatunŞehzade HatunKumru HatunAgamaSunni IslamTughra Mehmed I Çelebi (Turki Otoman: چلبی محمد; Bursa, 1389 - Edir...

 

 

Bertus Caldenhove Informasi pribadiTanggal lahir (1914-01-19)19 Januari 1914Tempat lahir Amsterdam, BelandaTanggal meninggal 30 Juli 1983(1983-07-30) (umur 69)Posisi bermain BekKarier senior*Tahun Tim Tampil (Gol) Door Wilskracht Sterk Tim nasional1935-1940[1] Belanda 25 (0) * Penampilan dan gol di klub senior hanya dihitung dari liga domestik Bernardus Joannes Caldenhove (19 Januari 1914 – 30 Juli 1983) adalah bek sepak bola Belanda yang bermain untuk Belanda di...

 

 

Freemasonry initiation. 18th century Inisiasi berasal dari kata bahasa Latin, initium, yang berarti masuk atau permulaan, secara harafiah berarti masuk ke dalam.[1][2] Inisiasi terdapat di dalam ritus kehidupan di berbagai tempat.[3] Ritual dilakukan ketika bersyukur atas bayi di dalam kandungan, lahir, pubertasi (akil balik), pernikahan, hingga kematian.[3] Ritus erat hubungannya dengan proses kehidupan manusia.[3][4] Praktik inisisasi sebenarn...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada November 2022. Aslan DoguzovInformasi pribadiNama lengkap Aslan Semyonovich DoguzovTanggal lahir 13 Januari 1991 (umur 33)Tinggi 1,77 m (5 ft 9+1⁄2 in)Posisi bermain GelandangInformasi klubKlub saat ini FC Alania-d VladikavkazKarier senior*...

 

 

2011 song by Jedward LipstickSingle by Jedwardfrom the album Victory/Planet Jedward (European version) B-sideLipstick (Instrumental)Released11 February 2011 (2011-02-11)Recorded2010-2011Genre Pop electropop Europop Length3:52 2:55 (Radio Edit)LabelUniversal Music GroupSongwriter(s)Dan Priddy, Lars Halvor Jensen, Martin M. LarssonProducer(s)DEEKAYJedward singles chronology All the Small Things (2010) Lipstick (2011) Bad Behaviour (2011) Eurovision Song Contest 2011 entryCountryI...

 

 

Territorio del Michigan L'estensione del Territorio del Michigan tra il 1833 e il 1836, tra le quali è compreso lo scoppio della Guerra di Toledo, combattuta per un piccolo territorio, la Striscia di Toledo, tra gli Stati del Michigan e dell'Ohio Informazioni generaliNome ufficialeMichigan Territory CapoluogoDetroit Evoluzione storicaInizio1805 con William Hull CausaLegge organica Fine1837 con John Horner CausaAccesso del Michigan Preceduto da Succeduto da Territorio dell'Indiana Michigan Te...

此條目可参照英語維基百科相應條目来扩充。 (2021年5月6日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记{{Translated page}}标签。 约翰斯顿环礁Kalama Atoll 美國本土外小島嶼 Johnston Atoll 旗幟颂歌:《星條旗》The Star-Spangled Banner約翰斯頓環礁�...

 

 

Державний комітет телебачення і радіомовлення України (Держкомтелерадіо) Приміщення комітетуЗагальна інформаціяКраїна  УкраїнаДата створення 2003Керівне відомство Кабінет Міністрів УкраїниРічний бюджет 1 964 898 500 ₴[1]Голова Олег НаливайкоПідвідомчі ор...

 

 

Disambiguazione – Se stai cercando altri significati, vedi Harley Quinn (disambigua). Questa voce o sezione sugli argomenti personaggi dell'animazione e DC Comics non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Harley QuinnHarley Quinn disegnata da Terry Dodson e Rachel Dodson nella copertina di Batman Libray - Harley Quinn 2, tratta dall'originale: Ha...

Genus of plants Toxicodendron Two pictures of Toxicodendron radicans Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Eudicots Clade: Rosids Order: Sapindales Family: Anacardiaceae Subfamily: Anacardioideae Genus: ToxicodendronMill.[1] Species See text Toxicodendron is a genus of flowering plants in the sumac family, Anacardiaceae. It contains trees, shrubs and woody vines, including poison ivy, poison oak, and the lacquer tree. All members of ...

 

 

Subculture of hardcore punk This article is about the punk subculture. For the tool used for drawing straight lines, see Straightedge. For the song from which the subculture takes its name, see Straight Edge (song). A straight edge tattoo Straight edge (sometimes abbreviated as sXe or signified by XXX or simply X) is a subculture of hardcore punk whose adherents refrain from using alcohol, tobacco, and recreational drugs in reaction to the punk subculture's excesses.[1][2][...

 

 

E-1 No.3A replica of an E-1 spacecraftMission typeLunar impactorOperatorSoviet space programMission durationFailed to orbit Spacecraft propertiesManufacturerOKB-1Launch mass361 kilograms (796 lb) Start of missionLaunch date4 December 1958, (1958-12-04)RocketLuna 8K72 s/n B1-5Launch siteBaikonur 1/5 Luna programme← Luna 1958BLuna 1 →  Luna E-1 No.3,[1] sometimes identified by NASA as Luna 1958C,[2] was a Soviet spacecraft which was lost in a...

Deep circumflex iliac veinThe veins of the right half of the male pelvis.The iliac veins.DetailsDrains toExternal iliac veinArteryDeep circumflex iliac arteryIdentifiersLatinvena circumflexa ilium profundaTA98A12.3.10.027TA25054FMA21182Anatomical terminology[edit on Wikidata] The deep circumflex iliac vein is formed by the union of the venae comitantes of the deep iliac circumflex artery.[1] It drains venous blood from the walls of the iliac fossa.[2] It empties into the e...

 

 

Pour les articles homonymes, voir Raison (homonymie). Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Cet article ne cite pas suffisamment ses sources (avril 2020). Si vous disposez d'ouvrages ou d'articles de référence ou si vous connaissez des sites web de qualité traitant du thème abordé ici, merci de compléter l'article en donnant les références utiles à sa vérifiabilité et en les liant à la section « Notes et références ». En pr...

 

 

Bronze Age culture in Sichuan, China 30°59′35″N 104°12′00″E / 30.993°N 104.200°E / 30.993; 104.200 Sanxingdui cultureSanxingduiShow map of Continental AsiaSanxingduiShow map of ChinaSanxingduiShow map of SichuanGeographical rangeChengdu PlainPeriodBronze Age ChinaDatesc. 1700 – c. 1150 BC [1]Type siteSanxingduiMajor sitesGuanghan, DeyangPreceded byBaodun cultureFollowed byJinshaBa and ShuChinese nameChinese三星堆文化TranscriptionsStandard Man...

Common terms used to name products or services Genericide redirects here. Not to be confused with Gendercide or Genocide. See also: List of generic and genericized trademarks This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Generic trademark – news · newspapers · books · scholar · JSTOR (December 2022) (Learn...

 

 

Richmond WCT 1976Sport Tennis Data2 febbraio – 8 febbraio Edizione9a SuperficieSintetico indoor Montepremi60 000 $[1] CampioniSingolare Arthur Ashe Doppio Brian Gottfried / Raúl Ramírez 1975 1977 Il Richmond WCT 1976 è stato un torneo di tennis giocato sul sintetico indoor. È stata la 9ª edizione del torneo che fa parte del World Championship Tennis 1976. Si è giocato a Richmond negli Stati Uniti dal 2 all'8 febbraio 1976. Indice 1 Campioni 1.1 Singolare maschile 1.2...

 

 

Country in southwestern Europe España redirects here. For other uses, see Spain (disambiguation) and España (disambiguation). Kingdom of SpainReino de España (Spanish) 7 other names[a] Aragonese:Reino d'EspanyaAsturian:Reinu d'EspañaCatalan:Regne d'EspanyaBasque:Espainiako ErresumaGalician:Reino de EspañaOccitan:Reiaume d'EspanhaValencian:Regne d'Espanya Flag Coat of arms Motto: Plus ultra (Latin)(English: Further Beyond)Anthem: Marcha Real (Spanish)[1]...

Disambiguazione – Se stai cercando altri significati, vedi Taurasi (disambigua). Taurasicomune Taurasi – Veduta LocalizzazioneStato Italia Regione Campania Provincia Avellino AmministrazioneSindacoAntonio Tranfaglia (lista civica Taurasi viva) dal 27-5-2019 TerritorioCoordinate41°00′54.67″N 14°57′48.82″E41°00′54.67″N, 14°57′48.82″E (Taurasi) Altitudine398 m s.l.m. Superficie14,41 km² Abitanti2 168[1] (31-3-2022) ...

 

 

Representative subdivisions This article is about areas forming a single electorate. For subdivisions of such an area, see Electoral precinct and Polling station. Constituency redirects here. For other uses, see Constituency (disambiguation). Part of the Politics seriesVoting Balloting Ballots Absentee ballot Provisional ballot Sample ballot Candidates and Ballot measures Write-in candidate Electorate Slate Ticket Collection Ballot box Compulsory voting Early voting Electronic voting Open bal...