ÁöµM DOS ¦¤w¹L®É¡A¦ý¬O¹³¸ô®|¡B¥Ø¿ý³o¨ÇÆ[©À¡Aª½¨ì Windows §@·~¨t²Î·í¹Dªº²{¥N¡A¤´µMÄ~Äò¨Ï¥Î¡C³oÓªþ¿ý¡A±N½Í½Í³o¥j¦Ñ«o¤S±`¥ÎªºÆ[©À¡C
²³©Ò©Pª¾¡AÀɮ׬O¦s©ñ¦bºÏºÐ¾÷¡B¥úºÐ¤ù©ÎÀH¨ºÐµ¥Àx¦s¸Ë¸mùØ¡CDOS ©Î Windows §@·~¨t²Î·|µ¹³o¨ÇÀx¦s¸Ë¸m¤@Ó¦WºÙ¡A³o¦WºÙ¬O¨Ì^¤å¦r¥Àªº¶¶§Ç¡A±q¤j¼g¶}©l¡A«á±¥[¤W¡u:¡v´N¦¨¬°Àx¦s¸Ë¸mªº¦WºÙ¡C¨Ò¦p¡uA:¡v¡B¡uB:¡v¡B¡uC:¡v¡B¡uD:¡v¡K¡Kµ¥µ¥¡C¨Ì¾Ú·íªì IBM ³]pªºÓ¤H¹q¸£³W©w¡AA:¡BB: ¬O³nºÐ¾÷¡A²{¦b¤w¸g²^¨O¤£¥Î¤F¡CC: ¥Nªí²Ä¤@ÓµwºÐ¡BD: ¥Nªí²Ä¤GÓµwºÐ¡K¡K¡C¦pªG¨S¦³²Ä¤GÓµwºÐ¡A¦Ó¦³¥úºÐ¾÷ªº¸Ü¡A¨º»ò D: ´N¥Nªí¥úºÐ¾÷¡C¦pªG´¡¤JÀH¨ºÐªº¸Ü¡A¨º»òÀH¨ºÐ³q±`·|±Æ¦bµwºÐ©Î¥úºÐ«á±¡C
¦pªG§Aªº¹q¸£¤W¦³ 26 Ó¥H¤WªºÀx¦s¸Ë¸m¡A¨º»ò²Ä 27 ÓÀx¦s¸Ë¸m´N·|¥Ñ¤p¼gªº¡ua:¡v¶}©l¡A¤]¬O¨Ì·Ó^¤å¦r¥À¶¶§Ç±Æ¤U¥h¡C¦pªG¹q¸£¤WªºÀx¦s¸Ë¸m¤Ö©ó 27 Ó¡A¨º»òÀx¦s¸Ë¸mªº¦WºÙ¤j¤p¼g¬O¤@¼Ëªº¡C
¤@Óè¶R¦^¨ÓªºµwºÐ±µ¦b¹q¸£¤W¡AºÙ¬°¹êÅéµwºÐ ( physical disk )¡A¥i¥HÂÇ¥Ñ FDISK ±N¨ä¤À³Î¦¨¸û¤pªº¼ÆÓµwºÐ¡A³o¨Ç¸û¤pªºµwºÐºÙ¬°¡uÅÞ¿èºÏºÐ¡v( logical driver )¡C¹êÅéµwºÐªº¦WºÙ¥Hªü©Ô§B¼Æ¦rªí¥Ü¡A±q 0 ¶}©l¡FÅÞ¿èµwºÐªº¦WºÙ¥H^¤å¦r¥Àªí¥Ü¡A¥Ñ¡uC:¡v¶}©l¡CµwºÐ¬°¦ón¤À³Î¡A¥Dn¦³¨âÓ¦n³B¡G
¹q¸£ùتºÀɮ׬O¥]ù¸U¶Hªº¡A¦³¥i°õ¦æªºµ{¦¡¡Bµ¼ÖÀÉ¡B¯Â¤å¦rÀÉ¡K¡Kµ¥µ¥¡AnºÞ²z³o¨ÇÀÉ®×¥i¤£®e©ö¡C¦b DOS §@·~¨t²ÎùØ¡AÀɮתº¦WºÙ¤À¬°¨â³¡¤À¡G¥DÀɦW»P°ÆÀɦW¡C¥DÀɦW³Ì¦h¥u¯à¦³¤KÓ ASCII ¦r¤¸¡A°ÆÀɦW³Ì¦h¥u¯à¤TÓ ASCII ¦r¤¸¡A¨âªÌ¤§¶¡¥H¡u.¡v¤À¹j¡A¦]¦¹¤]ºÙ¡u8.3¡vÀɦW®æ¦¡¡C¦ý¨Ã«D©Ò¦³ ASCII ¦r¤¸³£¯à¨Ï¥Î¡A¦b DOS ¥DÀɦW©Î°ÆÀɦW¤¤¯à¨Ï¥Îªº ASCII ¦r¤¸¦³¡G①^¤å¦r¥À A¡ãZ ( DOS ·|¦Û°Ê§â¤p¼g¦r¥ÀÅܦ¨¤j¼g )¡B②ªü©Ô§B¼Æ¦r 0¡ã9¡B③¯S®í²Å¸¹¡G$#&@!()-_~{}¡C³o¤TÃþ¦r¤¸¬O±`¨£ªº ASCII ¦r¤¸¡A¦Ó¥B¯à°÷¨ÃÅã¥Ü¦b¿Ã¹õ¤Wªº¡C
¥DÀɦW³q±`¥Ñ¨Ï¥ÎªÌ¥ô·N¨ú¦W¡A·íµM¥²¶·¦³¬Y¨Ç·N¸q¡AÅý¤H¤@¥Ø¤FµM³oÓÀɮתº¤º®e¡C°ÆÀɦW³q±`¬O¥NªíÄÝ©óþ¤@Ãþ«¬ªºÀɮסA¨Ò¦p¡uASM¡v³q±`¥Nªí²Õ¦X»y¨¥ì©l½X¡B¡uJPG¡v³q±`¬O·Ó¤ùÀɩιϮ×ÀÉ¡B¡uMP3¡v³q±`¬OÁnµÀÉ¡B¡uTXT¡v³q±`¬O¯Â¤å¦rÀÉ¡K¡K¡C¥DÀɦW»P°ÆÀɦW¥H¡u.¡v¤À¹j¡C¨Ò¦p±q HELLOW.ASM ¥iª¾¡A¥DÀɦW¬° HELLOW¡Aªí¥Ü¦¹ÀÉ®×¥i¯à¬O¦L¥X¡uHellow¡v¦r¦êªº¡A°ÆÀɦW¬° ASM¡Aªí¥Ü¦¹¬°²Õ¦X»y¨¥ì©l½X¡C
¦b Windows §@·~¨t²Î¤¤¡AÀɮצWºÙ´N¤£¨ü¥Dn¦WºÙ¤KÓ ASCII ¦r¤¸ªº¨î¡A¥i¥H¨Ï¥Î¦h¹F¤@¡B¨â¦ÊÓ¦r¤¸¡A¬Æ¦Ü³sªÅ¥Õ¡B¤¤¤å¦r©Î¨ä¥L»y¨¥ªº¤å¦r¤]¬O¥i¥Hªº¡A¦ý¬O¡u:¡v¡B¡u\¡v¡B¡u*¡v¡B¡u?¡v¡B¡u>¡v¡B¡u<¡v¡B¡u|¡v¡B¡u"¡v¡K¡Kµ¥¦r¤¸¡A¦³¯S®í¥Î³~¤´¤£¥i¨Ï¥Î¡C¥t¥~ Windwos ¨t²Î¤¤ªºÀɦW¨ä¹ê¬O¥Î¸U°ê½X ( Unicode ) ¦r¤¸¡A«D ASCII ¦r¤¸¡A¤]¦]¬°³o¼Ë¡A©Ò¥H¤~¯à¨Ï¥Î¦hºØ»y¨¥ªº¤å¦r§@¬°ÀɦW¡C
¦b Windows §@·~¨t²Î¤¤¡AÀɮצWºÙ¦pªG¥]§t^¤å¦r¥À¡A¨º»ò¤j¤p¼g·|°O¿ý°_¨Ó¤£·|¥þ³¡Âà´«¦¨¤j¼g©Î¤p¼g¡A¦ý¬O¤´³Qµø¬°¬Û¦PÀɮסC³o·N«ä¬O»¡¡A¦pªG§A«Ø¥ß¤F¤@ÓÀɦW¬°¡uHellow, World.Txt¡vªºÀɮסA¦b©R¥O´£¥Ü¦r¤¸¥Î DIR «ü¥O¬Ý¤´¬Oì¨Óªº¼Ë¤l¡F¦ý¬O¦pªG¦b¨ä¥L¥Ø¿ý¦³¥t¤@Ó¡uHELLOW, WORLD.TXT¡vÀɮסA§â¥¦½Æ»s¹L¨Ó¡A©R¥O´£¥Ü¦r¤¸´N·|°Ý§A¬O§_nÂмg¡H¦pªG¦^µª¬O¡A¨º»òì¨ÓªºÀÉ®×´N·|¤£¨£¤F¡C
¤£ºÞµwºÐ¤]¦n©Î¬O¥úºÐ¤]½}¡A®e¶q³£¬Û·í¤j¯à¦s©ñ³\¦hÀɮסA¦]¦¹¥²¶·§@¦nºÞ²z¤~¯à¶¶§Q§ä¨ìÀɮסA¦pªGÀH·N¶Ã©ñ¡A·íÀɮ׶V¨Ó¶V¦h®É¡A«OÃÒ¥H«á«ÜÃø§ä¨ì¡C¨º»ò¸Ó¦p¦óºÞ²z©O¡H§ÚÌ¥i¥H¥ý¬Ý¬Ý¹Ï®ÑÀ]¬O¦p¦óºÞ²z®ÑÄyªº¡C¹Ï®ÑÀ]Â\©ñ®ÑÄyªº¤è¦¡¬O§â¦PÃþªº®ÑÂ\¦b¤@°_¡A¨Ò¦p¦³Ãö¼¶¼gµ{¦¡ªº®ÑÂ\¦b¬Û¾Fªº´XӮѬ[¤W¡B¦³ÃöªZ«L¤p»¡ªº®ÑÂ\¦b¥t¥~¤@°Ï¬Û¾Fªº´XӮѬ[¤W¡K¡Kµ¥µ¥¡A³o¼ËŪªÌ«Ü®e©ö´N¯à§ä¨ì·Q¬Ýªº®Ñ¡C
ºÏºÐ¾÷¡B¥úºÐ¤ù©ÎÀH¨ºÐµ¥Àx¦s¸Ë¸m¦s©ñÀɮתº¤è¦¡¡A©M®ÑÄy©ñ¦b¹Ï®ÑÀ]®Ñ¬[¤Wªº¤è¦¡Ãþ¦ü¡C§ÚÌ¥i¥H§âºÏºÐ¾÷¡B¥úºÐ¤ù©ÎÀH¨ºÐ·Q¹³¦¨¹Ï®ÑÀ]¡A¦Ó§â¤@Ó¤@ÓªºÀÉ®×·Q¹³¦¨¤@¥»¤@¥»ªº®Ñ¡A¨º»òÂ\©ñ¦PÃþ®Ñªº¬Û¾F®Ñ¬[¦b³oÓ¤ñ³ë¤¤¬O¤°»ò©O¡H¨º´N¬O¥Ø¿ý ( directory )¡A¤@¥¹«Ø¥ß¦n¥Ø¿ý¤§«á¡A´N¥i¥H§â¦PÃþªºÀɮצs©ñ¦b¤@°_¡C
¦b DOS ¨t²Î¤¤¡An«Ø¥ß¥Ø¿ý¥i¥H¥Î MD ©Î MKDIR «ü¥O ( make directory ªº·N«ä )¡A³o¨âÓ«ü¥O¨ä¹ê¬O¤@¼Ò¤@¼Ëªº¡A³Ì²³æªº»yªk¬O¡G
MD ¥Ø¿ý¦WºÙ MKDIR ¥Ø¿ý¦WºÙ
MD ©Î MKDIR ¬O DOS ªº«ü¥O¡A¤Z¬O DOS ªº«ü¥O³£¤£°Ï¤À¤j¤p¼g¡C¥Ø¿ý¦WºÙ´N¬O·Qn«Ø¥ßªº¥Ø¿ý¦W¦r¡A¦b DOS ¨t²Î¤¤¥Ø¿ý¦WºÙ¤À¥Dn¦WºÙ¸ò¦¸n¦WºÙ¡A¥Dn¦WºÙ³Ì¦h¤KÓ ASCII ¦r¤¸¡A¦¸n¦WºÙ³Ì¦h¤TÓ ASCII ¦r¤¸¡A¤¤¶¡¥H¡u.¡v¹j¶}¡C¥Ø¿ý¦WºÙ¥i¥H¨Ï¥Îªº¦r¤¸©MÀɮצWºÙ¬Û¦P¡A¨Ò¦p©³¤Uªº¨Ò¤l¡G
md books mkdir pictures.tpe
¡umd books¡v«Ø¥ß¡uBOOKS¡v¥Ø¿ý¡A¦Ó¡umkdir pictures.tpe¡v«Ø¥ß¡uPICTURES.TPE¡v¥Ø¿ý¡C
¤p¤ì°¸ÁöµM§â¹q¸£¤¤Àx¦sÀɮתº¤è¦¡¤ñ³ë°µ¹Ï®ÑÀ]ÂîѪº¤è¦¡¡A¦ý¨âªÌÁÙ¬O¦³¤£¤@¼Ëªº¦a¤è¡A¨º´N¬O¹q¸£ªº¥Ø¿ý¥i¥H¦³³\¦h¼h¡C¦b¹q¸£ùØ¡A¨CÓÀx¦s¸Ë¸mªº²Ä¤@¼h¥Ø¿ýºÙ¬°®Ú¥Ø¿ý ( root )¡A¦Ó¥B®Ú¥Ø¿ý¤£¦h¤£¤Ö¥u¯à¬O¤@Ó¡A¥H¡u\¡vªí¥Ü¡C¨Ò¦p¡uC ºÏºÐ¾÷¡vªº®Ú¥Ø¿ý¥H¡uC:\¡vªí¥Ü¡B¡uD ºÏºÐ¾÷¡vªº®Ú¥Ø¿ý´N¥H¡uD:\¡vªí¥Ü¡C
¦b®Ú¥Ø¿ýùر¡A¥i¥H¦A«Ø¥ß¥Ø¿ý¡A¤]¥i¥Hª½±µ¦s©ñÀɮסC¦pªG¦b®Ú¥Ø¿ýùØ¡A¦A«Ø¥ß¤@ӥؿý¡A¨º»ò³oÓ·s«Ø¥ßªº¥Ø¿ý´N¬O®Ú¥Ø¿ýªº¡u¤l¥Ø¿ý¡v( subdirectory )¡C¥k¹Ï¬O¤p¤ì°¸¦b¡uMS-DOS 6.20¡vµêÀÀ¹q¸£ùتº¡uC ºÏºÐ¾÷¡v¤º®e¡A¥Ø¿ý¦WºÙ³£¥H²HÂŦâªí¥Ü¡BÀÉ®×¥H¥Õ¦âªí¥Ü¡B©|¥¼®i¶}ªº¥Ø¿ý¥H¯»¬õ¦âªº⨁ªí¥Ü¡B¬Ù²¤ªº¥Ø¿ý©ÎÀÉ®×¥H¯»¬õ¦âªº⁞ªí¥Ü¡C¨ä®Ú¥Ø¿ý¦b¦w¸Ë MS-DOS ®É´N¤w¸g¦³¤TÓÀɮסGAUTOEXEC.BAT¡BCOMMAND.COM ¤Î CONFIG.SYS¡A¨Ã«Ø¥ß DOS ¥Ø¿ý¡F¦b¦w¸Ë MASM 6.11 ®É¡A¦w¸Ëµ{¦¡¦b®Ú¥Ø¿ý¤U¤S«Ø¥ß¤F MASM611 ¥Ø¿ý¤Î¨ä¥L©Ò»ÝÀÉ®× ( ML.EXE¡BML.ERR¡K¡K)¡B¥Ø¿ý ( BIN¡BBINR¡BLIB¡K¡K)¡C
¥Ñ³oÓ¨Ò¤l¨Ó¬Ý¡ADOS »P MASM611 ³£¬O®Ú¥Ø¿ýªº¤l¥Ø¿ý¡A®Ú¥Ø¿ý¤]¯àª½±µ¦s©ñÀɮסGAUTOEXEC.BAT¡BCOMMAND.COM ¤Î CONFIG.SYS µ¥¡CMASM611 ¥Ø¿ý©³¤U¤S¦³ BIN¡BBINR¡BLIB¡K¡Kµ¥¥Ø¿ý¡A¹ï MASM611 ¦Ó¨¥¡A¥¦Ì¬O¤l¥Ø¿ý¡F¹ï®Ú¥Ø¿ý¦Ó¨¥¡A¥¦Ì¬O®]¥Ø¿ý ( «Ü¤Ö¤H³o¼ËºÙ©I )¡C¨Cӥؿýùر¡A¥i¥H¦s©ñÀɮסA¤]¥i¥H¦A«Ø¥ß¤l¥Ø¿ý¡A¹F¨ì«Ü¦h¼h¥Ø¿ý¡C
¦]¬°¥Ø¿ý¥i¥H¦³³\¦h¼h¡A¦]¦¹nÁ¿¥X¤@ÓÀɮסAÀ³¸Ó¤]n¦P®ÉÁ¿¥X³oÓÀɮצbþ¤@ӥؿý¡A¤]´N¬On±qºÏºÐ¾÷¦WºÙ¶}©l¡B®Ú¥Ø¿ý¡K¡K¤@ª½¨ì³oÓÀɮשҦb¥Ø¿ý¡A³Ì«á¤~¬O¥DÀɦW»P°ÆÀɦW¡A¦Ó¨Cӥؿý¤§¶¡¥H¡u\¡v¤À¶}¡C¨Ò¦p¤W±ªº¨Ò¤l¡A¦pªGnÁ¿ ML.EXE¡AÀ³¸Ón¹³¤U±¡G
C:\MASM611\BIN\ML.EXE
¹³³o¼Ë¡A±qºÏºÐ¾÷¦WºÙ¶}©l¨ì¸g¾ú¹Lªº¤l¥Ø¿ý¦ÜÀɮשҦbªº¥Ø¿ý¡AµM«á¤]§â¥DÀɦW¡B°ÆÀɦW¡A¥þ³£ªí¥Ü¥X¨Ó¡AºÙ¬°¡u§¹¾ãªºÀɮצWºÙ¡v¡C±q®Ú¥Ø¿ý¶}©l¡A¸g¹L¤@³s¦êªº¤l¥Ø¿ý¦Ó³Ì²×¨ì¹FÀɮצs©ñªº¥Ø¿ý¡A³o¤@¨t¦Cªº¥Ø¿ý¶°¦X°_¨Ó´N¥s¡u¸ô®|¡v¡C¹³¤W±ªº¡u\MASM611\BIN\¡v´N¬O¸ô®|¡C
¦pªG¨C¤@¦¸»¡©ú¬YÓÀɮ׮ɡA³£±qºÏºÐ¾÷¶}©l¨ìÀɮצWºÙµ²§ô¡A¨º´N«Ü³Â·Ð¡C¬°¤F¤è«K¡A¥i¥H¥uÁ¿¥X¡u·í«eªº¥Ø¿ý¡v ( ·í«eªº¥Ø¿ý¨£¤U±ªº»¡©ú ) ¨ìÀɮשҦb¥Ø¿ýªº¸ô®|¡A³o¼Ë´N¥s¡u¬Û¹ï¸ô®|¡v¡F¦Ó§â§¹¾ãªºÀɮצWºÙÁ¿¥X¨Óªº¸ô®|ºÙ¬°¡uµ´¹ï¸ô®|¡v¡C¨Ò¦p¡A²{¦bªº¤u§@¥Ø¿ý¬O¡uC:\MASM611¡v¡A¨º»òn«ü¥X ML.EXE¡A¥u»ÝnÁ¿¡uBIN\ML.EXE¡v´N¥i¥H¤F¡A³oùتº¡uBIN\¡v´N¬O¬Û¹ï¸ô®|¡C
·í«eªº¥Ø¿ý¤]¥s²{¦bªº¥Ø¿ý¡B¥Ø«eªº¥Ø¿ý©Î¬O¤u§@¥Ø¿ý ( work directory )¡A·í¨Ï¥ÎªÌ¥Î CHDIR ©Î CD «ü¥O ( ¨£©³¤Uªº»¡©ú ) ¤Á´«¬Yӥؿý®É¡A¨ºÓ¥Ø¿ý´N¬O·í«eªº¥Ø¿ý¡C¨Ò¦p¥k¹Ïªº¾Þ§@¡A¦b DOS è±Ò°Ê®É¡A·í«e¥Ø¿ý¬°¡uC:¡vºÏºÐ¾÷ªº®Ú¥Ø¿ý¡A³o¬O DOS ³]©wªº¡A¦Ó«á¨Ï¥ÎªÌ¤Á´«¨ì¡uC:\MASM611¡v¥Ø¿ý¡A³o®É·í«e¥Ø¿ý´N¬O¡uC:\MASM611¡v¥Ø¿ý¤F¡C§A¤]¥i¥Hµo²{¡ADOS ·|§â·í«eªº¥Ø¿ý§@¬°´£¥Ü²Å¸¹¦L¦b¿Ã¹õ¤W¡A³o¼Ë´N¤@¥ØÁAµM¤F¡C
¨CӺϺо÷·í·|¦³¦Û¤vªº·í«e¥Ø¿ý¡ADOS ·|°O¿ý¨CӺϺо÷ªº·í«e¥Ø¿ý¡A¨ÃÀHµÛ¨Ï¥ÎªÌ¤Á´«¥Ø¿ý¦Ó§ïÅܸӺϺо÷ªº·í«e¥Ø¿ý¡C
·í¨Ï¥ÎªÌ¿é¤J¬YÓ DOS «ü¥O®É¡A¦pªG¨S¦³«ü©w¸ô®|¡A¨º»ò DOS ´N·|»{¬°¸Ó«ü¥O¬O§@¥Î¦b·í«e¥Ø¿ý¤W¡C¨Ò¦p¤W¹Ïªº·í«e¥Ø¿ý¬O¡uC:\MASM611¡v¡A¦pªG²{¦b¿é¤J¡uMD SOURCE¡v«Ø¥ß SOURCE ¥Ø¿ý¡A¨º»ò³oӥؿý·|«Ø¥ß¦b¡uC:\MASM611¡vùر¡AÅܦ¨ MASM611 ªº¤l¥Ø¿ý¡C
¸U¥Î¦r¤¸¤]¥s³q°t¦r¤¸¡A¬O«ü¦¹¦r¤¸¥i¥H¥N´À¤@¤Á¦r¤¸¡A±`±`¥Î¦b«ü©w¤@¸sÀɮסCDOS ùتº¸U¥Î¦r¤¸¦³¨âÓ¡G¡u*¡v»P¡u?¡v¡C¡u*¡v©Ò¥N´Àªº¦r¤¸¤£ªø«×¡A¤£¦ì¸m¡C¡u?¡v©Ò¥N´Àªº¦r¤¸¥u¦³¤@Ó¡A¦Ó¥B¦ì¸m©T©w¡C³o¼Ë»¡¡A¥i¯àÁÙ¬O¦³«Ü¦hŪªÌ¤£ÁA¸Ñ¸U¥Î¦r¤¸ªº¥Îªk¡A©³¤U¤p¤ì°¸¥H¡uC:\MASM611\BIN¡v¥Ø¿ý¤UªºÀɮ׬°¨Ò¤l»¡©ú¡C
¤Uªí³Ì¥ªÄæ¬O¡uC:\MASM611\BIN¡v¥Ø¿ýùر©Ò¦³ÀɮסC²Ä①Äæùتº¡u*.EXE¡vªí¥Ü¥DÀɦW¬°¥ô·Nªø«×ªº¥ô·N¦r¤¸³£¥i¥H¡A°ÆÀɦW¥²¶·¬O¡uEXE¡v¡A¦]¦¹¡u*.EXE¡vªí¥Ü°ÆÀɦW¬°¡uEXE¡vªº©Ò¦³ÀɮסC²Ä②Äæùتº¡uM*.*¡vªí¥Ü¥DÀɦW¬°¡uM¡v¶}©l¡A¦Ó«áªº¥DÀɦW¬°¥ô·Nªø«×ªº¥ô·N¦r¤¸³£¥i¥H¡A°ÆÀɦW¥²¶·¬O¡uEXE¡v¡A¦]¦¹¡uM*.EXE¡vªí¥Ü¥H¡uM¡v¶}©l¥B°ÆÀɦW¬°¡uEXE¡vªº©Ò¦³ÀɮסC
©Ò¦³ÀÉ®× | ①*.EXE | ②M*.EXE | ③??.* | ④??S*.* | ⑤DOS?NT*.* | ⑥*NT.* | ⑦*NT.* |
CREF.DOC CREF.EXE DOSXNT.EXE DOSXNT.386 H2INC.ERR H2INC.EXE HELPMAKE.EXE MASM.EXE ML.ERR ML.EXE NMAKE.EXE NMAKER.EXE QH.EXE QH.ICO |
CREF.EXE DOSXNT.EXE H2INC.EXE HELPMAKE.EXE MASM.EXE ML.EXE NMAKE.EXE NMAKER.EXE QH.EXE |
MASM.EXE ML.EXE |
ML.ERR ML.EXE QH.EXE QH.ICO |
DOSXNT.EXE DOSXNT.386 MASM.EXE |
DOSXNT.EXE DOSXNT.386 |
CREF.DOC CREF.EXE DOSXNT.EXE DOSXNT.386 H2INC.ERR H2INC.EXE HELPMAKE.EXE MASM.EXE ML.ERR ML.EXE NMAKE.EXE NMAKER.EXE QH.EXE QH.ICO |
DOSXNT.EXE DOSXNT.386 |
²Ä③Ä檺¡u??.*¡vªí¥Ü¥DÀɦW¬°¥ô·N¨âÓ¦r¤¸¡A°ÆÀɦW¬°¥ô·N¦r¤¸¥ô·Nªø«×¡C³o¨ànª`·Nªº¬O¡A°²¦p¦³ªºÀɮ׬O¡uM.TXT¡v¤]¬O²Å¦X¡u??.*¡vªº¡A³o¥i¯à¬O DOS ³]p®Éªº¿ù»~¡A¤]¥i¯à¬O¡u?¡v¤]¥i¥H¥NªíªÅ¦r¤¸¡C²Ä④Äæùتº¡u??S*.*¡vªí¥Ü¥DÀɦW«e¨âÓ¦r¤¸¬°¥ô·N¦r¤¸¡A²Ä¤TÓ¦r¤¸¬°¡uS¡v¦r¤¸¡A¦Ó«á¤£¨î¡A°ÆÀɦW¤]¤£¨î¡A¦]¦¹¡u??S*.*¡vªí¥Ü¥DÀɦW²Ä¤TÓ¦r¤¸¬°¡uS¡vªº¥ô·NÀɮסC²Ä⑤Äæùتº¡uDOS?NT*.*¡vªí¥Ü¥DÀɦW«e¤TÓ¦r¤¸¬°¡uDOS¡v¡B²Ä¥|Ó¦r¤¸¬°¥ô·N¦r¤¸¡B²Ä¤¡B¤»¦r¤¸¬°¡uNT¡vªº¥ô·NÀɮסC
¦b DOS §@·~¨t²ÎùØ¡A¦pªG¦b¡u*¡v¦r¤¸¤§«áÁÙ¦³¨ä¥L¦r¤¸¡ADOS ·|µø¦Ó¤£¨£¡A§â¡u*¡v¤§«áªº¦r¤¸³£¬Ý§@¬O¥ô·N¦r¤¸¡B¥ô·Nªø«×¡C¹³¤Wªí¤¤ªº²Ä⑥Äæ¡A¡u*NT.*¡v¨ä¹ê©M¡u*.*¡v¬O¤@¼Ëªº¡A§Y¨Ï«á±¦³¡uNT¡v¦r¤¸¡C³oÀ³¸Ó¬O¿ù»~ªº¡A¤]³\¬O·íªì¥¼¦Ò¼{¨ì¡C¦ý¦b Windows §@·~¨t²Î¤¤ªº¡u©R¥O´£¥Ü¦r¤¸¡v¡A´N§â³oÓ¿ù»~§ó¥¿¤F¡A¦p¤Wªí¤¤ªº²Ä⑦Äæ¡C¤]¦]¬°×¥¿¤F³oÓ¿ù»~¡AWindows §@·~¨t²Îªº¸U¥Î¦r¤¸¥\¯à§ó¬°±j¤j¡A¨Ò¦p¡G
¤W±¤TÓ¨Ò¤l¡A¦b Windows §@·~¨t²Î©R¥O´£¥Ü¦r¤¸´N¯à°µ¨ì¡A¦b DOS §@·~¨t²Î¤¤µLªk°µ¨ì¡C
¸U¥Î¦r¤¸«D±`¦n¥Î¡A¥i¥H¨³³t¦b¦¨¤d¤W¦ÊÓÀɮפ¤¬D¥X¦³³W«ßªºÀɮסAµM«á¥[¥H³B²z¡C¨Ò¦p¦³Ó¥Ø¿ýùئ³ 300 Ó¥DÀɦW±q¡u001¡v¶}©l½s¸¹¨ì¡u300¡vªº¡uBMP¡v¹Ï¤ùÀÉ¡A¸g¹L³B²zÀ£ÁY«á¦³ 300 Ó¥DÀɦW±q¡u001¡v¶}©l¨ì¡u300¡vªº¡uJPG¡v¹Ï¤ùÀÉ¡C²{¦bn§â¡uBMP¡vÀɧR°£¡A¦pªG¯un¤@Ó¤@Ó§R°£¡A«OÃÒ¶O®É¤S¶O¤O¡A¦ý¬O¥i¥H¶È¶È¤U¹F¡uDEL *.BMP¡v¤@±ø«ü¥O§Y¥i¹F¨ì¥Øªº¡C
¹q¸£ªº¨Ï¥Î¤¶±¤jP¥i¤À¬°¨âºØ¡G①©R¥O¦C¤¶± ( command-line interface¡A²ºÙ CLI )¡B②¹Ï§Î¨Ï¥ÎªÌ¤¶± ( Graphical User Interface¡A²ºÙ GUI )¡C²{¦bªº Windows §@·~¨t²Î¡AÄÝ©ó GUI¡A¨Ï¥ÎªÌ¥i¥H¥Î·Æ¹«¡BÁä½L¾Þ±±¹q¸£¡C¦ý¬O DOS «o¤£¤@¼Ë¡ADOS ªº¨Ï¥ÎªÌ¤¶±ÄÝ©ó CLI¡CDOS ¶}¾÷«á¡A¦b¿Ã¹õ¤W¥u¯à¬Ý¨ì¤@¦ê°T®§¡AµM«á¬Ý¨ìªº´N¬O¡uC:\>¡v´£¥Ü²Å¸¹¤Î¤@°{¤@°{ªº´å¼Ð¡Aµ¥µÛ§A¿é¤J«ü¥O¡C¨Ï¥ÎªÌ¥²¶·°O±o¦UºØ«ü¥O¡A¤~¯à¾Þ§@¹q¸£¡F¸U¤@§A°O¿ù¤F«ü¥O¡A¹q¸£«KµL±¡¦b¿Ã¹õ¤W¦L¥X¿ù»~°T®§¤§¥~¡A¤°»ò¤]¤£·|§i¶D§A¡C¦]¬° DOS ªº¾Þ§@»P Windows ¤j¤£¬Û¦P¡A©³¤U±N²³æ¤¶²Ð±`¨£ªº DOS ªº«ü¥O¡C
DOS «ü¥O¥i¤À¬°¨âºØ¡G①¤º³¡«ü¥O ( internal DOS commands ) »P②¥~³¡«ü¥O ( external DOS commands )¡C
·í DOS ¶}¾÷®É·|§â¡uC:\COMMAND.COM¡vªºµ{¦¡¸ü¤J¨ì°O¾ÐÅ餺¡A¦Ó COMMAND.COM ¤º¦³³B²z DIR¡BCOPY¡BMD¡BCD¡BDEL µ¥Â²³æ«ü¥Oªºµ{¦¡½X¡C¦]¬°³o¨Ç«ü¥O©Ò»Ýnªºµ{¦¡½X¡A³£¤w¸ü¤J¦b°O¾ÐÅ餺³¡¤F¡A©Ò¥H·í¨Ï¥ÎªÌ°õ¦æ³o¨Ç«ü¥O®É¡A¤£¶·¦A¥Ñ°O¾ÐÅé¥~ªººÏºÐ¾÷Ū¨úµ{¦¡¡A¦]¦¹ºÙ¬°¤º³¡«ü¥O¡C¶¶±a¤@´£¡ADOS ¦L¥Xªº´£¥Ü²Å¸¹¡A¤]¬O COMMAND.COM ¦L¥X¨Óªº¡C
¥t¥~¦³¤@¨Ç«ü¥O¡AºÙ¬°¥~³¡«ü¥O¡A¨Ï¥ÎªÌ°õ¦æ³o¨Ç«ü¥O®É¡ADOS ¥²¶·¥ýŪ¨úÀx¦s¦b¥~³¡ºÏºÐ¾÷ùتºµ{¦¡¤~¥i°õ¦æ¡C¹³ ATTRIB ´N¬O¥~³¡«ü¥O¡A¨Ï¥ÎªÌ¦b©R¥O´£¥Ü²Å¸¹«á¿é¤J¡uATTRIB¡v«ü¥O¨Ã«ö¤U¡uENTER¡vÁä«á¡ADOS ·|¨ìºÏºÐ¾÷ªº·í«e¥Ø¿ý§ä¦³¨S¦³¦P¦Wªº¥i°õ¦æÀÉ¡AATTRIB.COM ©Î ATTRIB.EXE¡C¦pªG§ä¨ì¤F´N°õ¦æ¸Óµ{¦¡¡F¦pªG§ä¤£¨ì´N¦L¥X¡uBad command or file name¡v¡AµM«á¤°»ò¨Æ¤]¤£°µ´Nµ²§ô¦¹©R¥O¡C
¦b¤¶²Ð±`¥Î«ü¥O¤§«e¡A¥ýÁ¿»¡©ú³o¨Ç«ü¥Oªº³q¥Î³W«h¡G
©³¤U¥ý¤¶²Ð±`¥Îªº DOS ¤º³¡«ü¥O¡C
¦pªG§Aªº¹q¸£¤W¦³¦n´X¥xºÏºÐ¾÷¡A¥i¥Hª½±µ¦b´£¥Ü²Å¸¹«á¿é¤JÀx¦s¸Ë¸mªº¦WºÙ¡A´N¯àÅܧó·í«eªººÏºÐ¾÷¡C¨Ò¦p¡G
C:\>E: [Enter] ¡÷·í«eºÏºÐ¾÷¬° C:¡A·í«e¥Ø¿ý¬° C:\¡A²{¦b§ó§ï·í«eºÏºÐ¾÷¬° E: E:\>
³oÓ«ü¥O¥Î¨Ó§â¬YӥؿýùتºÀɮשΨä¤l¥Ø¿ýÅã¥Ü¦b¿Ã¹õ¤W¡A³o¤j·§¬O³Ì±`¥Îªº«ü¥O¤F¡A¨ä»yªk¬O¡G
DIR [ºÏºÐ¾÷:][¸ô®|][ÀÉ®×] [¿ï¶µ] DIR [¿ï¶µ] [ºÏºÐ¾÷:][¸ô®|][ÀÉ®×]
¡u[ºÏºÐ¾÷:][¸ô®|][ÀÉ®×]¡v¥i¥H«ü©wnÅã¥ÜþӺϺо÷¡BþӥؿýùتºÀɮסF¦pªG¥þ³¡¬Ù²¤±¼¡A¨º»ò DIR ·|Åã¥Ü·í«e¥Ø¿ýùرªº©Ò¦³ÀɮפΤl¥Ø¿ý¡C¦¹¥~¡A¡uÀɮסv¥i¥Î¸U¥Î¦r¤¸¡C
±`¥Îªº¿ï¶µ¦³¡G
DIR °£¤FÅã¥ÜÀɮפΤl¥Ø¿ý¥~¡A¤]·|Åã¥ÜºÏºÐ¾÷ªº¨÷¦W ( volume ) ¤Î§Ç¸¹ ( serial number )¡C¨CӺϺо÷³£·|¦³¦Û¤vªº¨÷¦W»P§Ç¸¹¡AºÏºÐ¾÷¨÷¦W¥i¥H¥Ñ¨Ï¥ÎªÌ¦Û¥Ñ¨ú¦W¡A¦ÓºÏºÐ¾÷§Ç¸¹«h¬O¦b®æ¦¡¤Æ®É¨t²ÎÀH¾÷²£¥Í¡C¦pªG¹q¸£¦w¸Ë¤F³\¦h©â¨ú¸Ë¸m ( ¦p USB ÀH¨ºÐ©M¥H«eªº³nºÐ¤ù )¡Aµ{¦¡¥i¥HÀˬd¨÷¦W»P§Ç¸¹¡A¥H½T»{¨Ï¥ÎªÌ¬O§_§ó´«¥t¤@Ó©â¨ú¸Ë¸m¡A°£¦¹¤§¥~´X¥G¨S¤°»ò¥Î³~¡C
©³¤Uªº¨Ò¤l¬O¦b·í«e¥Ø¿ý¬°¡uE:\¡v¡A¨Ï¥Î DIR Æ[¹î¡uC:\MASM611¡v¥Ø¿ýùتºÀɮסA¦P®É¨Ï¥Î¿ï¶µ¡u/W¡v¡G
E:\>DIR C:\MASM611 /W Volume in drive C is MS-DOS_6 ¡÷¨÷¦W¬O¡uMS-DOS_6¡v Volume Serial Number is 526C-A768 ¡÷§Ç¸¹¬O¡u526C-A768¡v Directory of C:\MASM611 ¡÷Åã¥Ü¡uC:\MASM611¡v¥Ø¿ýªº¤º®e [.] [..] [BIN] [BINR] [LIB] [INCLUDE] [INIT] [HELP] [SAMPLES] [TMP] PENTIUM.TXT ERRMSG.TXT README.TXT SUPPORT.TXT CV.TXT 15 file(s) 96,977 bytes 225,046,528 bytes free
©³¤Uªº¨Ò¤l¬O·í«e¥Ø¿ý¬°¡uE:\¡v¡AÆ[¹î¡uC:\MASM611\BIN¡v¥Ø¿ýùتºÀɮסA¨Ã¨Ï¨ä¨ÌÀɮפj¤p¡A¥Ñ¤j¦Ü¤p¶¶§Ç±Æ¦C¡G
E:\>DIR C:\MASM611\BIN /O:-S Volume in drive C is MS-DOS_6 Volume Serial Number is 526C-A768 Directory of C:\MASM611\BIN DOSXNT EXE 393,942 06-16-93 3:05p ML EXE 388,608 09-23-93 11:25p H2INC EXE 248,832 09-27-93 8:28a NMAKER EXE 86,809 03-10-92 12:00p QH EXE 70,065 07-09-92 2:52p CREF EXE 66,560 09-02-93 10:30a HELPMAKE EXE 55,585 12-30-91 1:43p MASM EXE 49,152 08-19-93 9:50a NMAKE EXE 45,568 08-18-93 3:52p H2INC ERR 21,880 09-27-93 8:14a CREF DOC 10,169 01-27-92 1:45p DOSXNT 386 9,343 06-16-93 3:05p ML ERR 9,287 09-23-93 11:21p QH ICO 1,086 01-15-92 6:16p . <DIR> 03-12-21 9:01p .. <DIR> 03-12-21 9:01p 16 file(s) 1,456,886 bytes 225,046,528 bytes free
DIR ÁÙ¦³¤@¨Ç¸û¤Ö¥Îªº¿ï¶µ¡AŪªÌ¥i¥H¦Û¦æ¦b DOS ´£¥Ü²Å¸¹¤§«á¿é¤J¡uHELP DIR¡v¬d¾\¡C
DEL ©M ERASE ¬O¤@¼Ëªº«ü¥O¡A¨ä¥\¥Î¬O§R°£ÀɮסA»yªk¬O¡G
DEL [ºÏºÐ¾÷:][¸ô®|]ÀÉ®× [/P]
¡u[ºÏºÐ¾÷:][¸ô®|]Àɮסv«ü©wn§R°£ªºÀɮסA¥i¥H¨Ï¥Î¸U¥Î¦r¤¸¡A¦ý°È¥²¤p¤ß¨Ï¥Î¡A¦]¬°ÀɮקR°£«á¡A¤£®e©ö±Ï¦^¨Ó¡C¦pªGºÏºÐ¾÷¡B¸ô®|¬Ù²¤¡A¨º»ò DEL ´N·|§R°£·í«e¥Ø¿ýªº«ü©wÀɮסC
DEL ¤£·|¦A¦¸½T»{¬O§_¯un§R°£¡A°£«D«ü©w¤F¡u/P¡v¿ï¶µ¡C¦pªG¦³¡u/P¡v¿ï¶µ¡A¦b§R°£Àɮ׫e·|´£¥Ü¨Ï¥ÎªÌ¬O§_¯un§R°£¡A«ö¡uY¡vÁä§R°£¡A«ö¡uN¡vÁ䤣§R°£¡C
COPY ¦³¨âºØ¥Î³~¡G①½Æ»sÀɮסB②¦X¨ÖÀɮסC¥ý»¡²Ä¤@ºØ¡A½Æ»sÀɮסA³o¬O¸û±`¨£ªº¥Îªk¡A¨ä»yªk¬O¡G
COPY [/Y|/-Y] [/A|/B] ¨Ó·½ÀÉ®× ¥ØªºÀÉ®× [/V]
¨Ó·½ÀɮשM¥ØªºÀɮק¡¥i¥]§tºÏºÐ¾÷¦WºÙ¡B¸ô®|¦W¡C³Ì±`¨£ªº¥Îªk¬O§â¨Ó·½ÀɮתººÏºÐ¾÷©M¸ô®|¼g²M·¡¡A¥ØªºÀɮפ¤ªººÏºÐ¾÷¦W©Î¸ô®|¦W¼g¥X¨Ó¦Ó¬Ù²¤ÀɦW¡A³o¼Ë´N¬O§â¨Ó·½Àɮ׽ƻs¨ì«ü©wªº¥Ø¿ýùئÓÀɦW¤£ÅÜ¡F°²¦p¥ØªºÀɮפ¤ªº¥DÀɦW¡B°ÆÀɦW¤]¼g¥X¨Óªº¸Ü¡A½Æ»s«áÀɦW·|Åܧ󬰧A©Ò«ü©wªº¥DÀɦW¡B°ÆÀɦW¡C¹³©³¤Uªº¨Ò¤l´N¬O§â¡uC:\MASM611\BIN\ML.EXE¡v½Æ»s¨ì¡uE:\DOS¡v¥Ø¿ýùØ¡C¦ý¬Onª`·N¡A¦b¡uE:\¡vùؤw¸g¦³¡uDOS¡v¤l¥Ø¿ý¤F¡A¦pªG¨S¦³¡uE:\DOS\¡v¤l¥Ø¿ý¡A¨º»ò DOS ·|»{¬°§An½Æ»s«áÁÙn§â ML.EXE §ó¦W¬° DOS¡C
COPY C:\MASM611\BIN\ML.EXE E:\DOS
¦pªG¨Ó·½Àɮפ¤¨S¦³«ü©wºÏºÐ¾÷©M¸ô®|¦W¡A¨º»ò´N¬O½Æ»s·í«e¥Ø¿ýùرªºÀɮסC¨Ó·½Àɮפ]¥i¥H¨Ï¥Î¸U¥Î¦r¤¸¡A¥H«K¤@¦¸½Æ»s³\¦hÀɮסA¨Ò¦p©³¤Uªº¨Ò¤l¬O§â¡uC:\MASM611\BIN\¡v¤º©Ò¦³ªº EXE ¥i°õ¦æÀɽƻs¨ì E: ºÏºÐ¾÷ªº®Ú¥Ø¿ýùر¡G
COPY C:\MASM611\BIN\*.EXE E:\
¨Ó·½ÀɮשM¥ØªºÀɮתººÏºÐ¾÷¦W©M¸ô®|¦W¤]¥i¥H¨Ï¥Î¡u¬Û¹ï¸ô®|¡v¡A¨Ò¦p©³¤Uªº¨Ò¤l¦b½Æ»s«eªº¤u§@¥Ø¿ý¤w¸g¬O¡uMASM611¡v¥Ø¿ý¤F¡A¦]¦¹¥u»Ý§â¤l¥Ø¿ý¡uBIN¡v¼g¥X¨Ó´N¦n¤F¡G
C:\>CD MASM611 C:\MASM611>COPY BIN\*.EXE E:
¿ï¶µ¡u/Y¡v©Î¡u/-Y¡v¥i¥H¬Ù²¤©Î¨âªÌ¤¤¿ï¾Ü¤@¶µ¼g¥X¨Ó¡F¦pªG¬Ù²¤ªº¸Ü¡A¹w³]ȬO¡u/-Y¡v¿ï¶µ¡CDOS ¦b½Æ»sÀɮ׮ɡA¦pªG¥ØªºÀɮפw¸g¦s¦b¡ADOS ·|´£¥Ü¨Ï¥ÎªÌ¬O§_nÂмg¡A¨Ï¥ÎªÌ¥i¥H¿ï¾Ü«ö¤U¡uY¡vÁäªí¥ÜnÂл\¥ØªºÀɮסA©Î«ö¤U¡uN¡vÁ䤣Âл\¥ØªºÀɮסC¿ï¶µ /Y ªº·N«ä´N¬O¬Û·í¨Ï¥ÎªÌ¤w¸g¹w¥ý«ö¤U¡uY¡vÁä¡A¦]¦¹¦pªG¼g¥X¡u/Y¡v¿ï¶µ¡ADOS ´N¤£·|´£¥Üª½±µÂмg¥ØªºÀÉ¡A³o¦b§ó·s¤j¶qÀɮ׮ɫܦn¥Î¡C
¿ï¶µ¡u/A¡v©Î¡u/B¡v¬O«ü©w¨Ó·½Àɮ׬O ASCII ¯Â¤å¦rÀɩάO¤G¶i¦ìÀÉ ( binary files )¡C¦³¨Ç¯Â¤å¦rÀɬO¥H Ctrl¡ÐZ §@¬°ÀÉ®×µ²§À ( End of File¡AÁY¼g¬° EOF ) ªº²Å¸¹¡A¦¹¼ÆȬO ASCII ½Xªº 1Ah¡C¥Î COPY ½Æ»sÀɮ׮ɡA¦pªG¦³¡u/A¡v¿ï¶µ¡A¨º»ò COPY «ü¥O´N·|§â¨Ó·½ÀÉ·í¦¨ ASCII ¯Â¤å¦rÀÉ¡A§Y¨Ï¥¦¬O³f¯u»ù¹êªº¤G¶i¦ìÀɮסA¤]´N¬O»¡ COPY «ü¥O¶È½Æ»s¨ì¨Ó·½ÀɮײĤ@¦¸¥X²{ 1Ah ´N°±¤î¤F¡A¦b¤Q¤»¶i¦ì¼ÆÈ 1Ah ¥H«áªº¸ê®Æ¤£·|½Æ»s¨ì¥ØªºÀɮסF¦pªG¦³¡u/B¡v¿ï¶µ¡A¨º»ò COPY «ü¥O·|¨Ì¾ÚºÏºÐ¾÷¥Ø¿ýªºÀɮתø«×½Æ»sÀɮסC¹w³]ȬO¡u/B¡v¡C
¿ï¶µ¡u/V¡v¬O¥Î¨ÓÀËÅç¥ØªºÀɮ׬O§_¥¿½T½Æ»s¡C³oӿﶵ·|ªá¸ûªø®É¶¡½Æ»s¡C
COPY «ü¥Oªº²Ä¤Gӥγ~¬O¦X¨ÖÀɮסA»yªk¬O¡G
COPY [/Y|/-Y] ¨Ó·½Àɮפ@ [/A|/B] + ¨Ó·½ÀɮפG [/A|/B] + [...] ¥ØªºÀÉ®×
³oºØ COPY «ü¥O·|§â¨Ó·½Àɮפ@¡B¨Ó·½ÀɮפG¡K¡Kµ¥¼ÆÓÀɮצX¨Ö°_¨Ó¡A½Æ»s¨ì¤@ӥتºÀÉ®×ùر¡C¨ä¤¤ªº¿ï¶µ [/Y|-/Y]¡B[/A|/B] ªº·N¸q»P«e±¬Û¦P¡C¨Ó·½Àɮפ@«á±±µµÛªº [/A|/B]¡A¬O«ü©w¨Ó·½Àɮפ@¬°¯Â¤å¦rÀÉ®×ÁÙ¬O¤G¶i¦ìÀɮסA¨Ó·½ÀɮפG«á±±µµÛªº [/A|/B]¡A¬O«ü©w¨Ó·½ÀɮפG¬°¯Â¤å¦rÀÉ®×ÁÙ¬O¤G¶i¦ìÀɮסK¡K¨Ì¦¹Ãþ±À¡C
³oºØ COPY «ü¥O¦³Ó«Ü¦nªºÀ³¥Î¡A¥i¥H¥Î¨Ó°°¸ËÀɮסA·íµM³o¤èªk¶È¯à¥i¥H°ä§Ë¤@¯ë¤H¡C¤èªk¬O§ä¨ì¤@±i¤pªº¹Ï¤ùÀɮסA¨Ò¦p PONY.JPG¡AµM«á§â¥¦©M¤@ӯ¤å¦rÀÉ¡A¨Ò¦p¦s©ñ¦U½×¾Âªº±b±KªºÀɮסAPW.TXT¡A¦X¨Ö°_¨ÓÅܦ¨ HORSE.JPG¡G
COPY PONY.JPG /B+PW.TXT HORSE.JPG
³o HORSE.JPG ªí±¤W¬Ý°_¨Ó¬O¹Ï¤ùÀÉ¡Aªº½T¤]¯à¥Îø¹Ï³nÅéÆ[¬Ý¡A¦b Windows ªº®à±¤W¤]¯àÅã¥Ü¹Ï®×¡F¦ý¬O¥¦¤]¯à¥Î Windwos ªº¡u°O¨Æ¥»¡v¶}±Ò¡A²¾¨ì³Ì«á±¡A¤´µM¯à¬Ý¨ì±b±K¡C
CD «ü¥O¤]¥i¥H¼g¦¨ CHDIR ( change directory )¡A¥Î¨ÓÅã¥Ü©Î§ïÅÜ·í«eªº¥Ø¿ý¡A¨ä»yªk¬O¡G
CD [ºÏºÐ¾÷:][¸ô®|] CHDIR [ºÏºÐ¾÷:][¸ô®|]
¦pªG CD «ü¥O¶È¶È¼g¥XºÏºÐ¾÷ªº¸Ü¡A¨º»ò CD ´N·|§â«ü©wºÏºÐ¾÷ªº·í«e¥Ø¿ý¦L¦b¿Ã¹õ¤W¡F¦pªG CD «ü¥O¦³«ü©w¸ô®|ªº¸Ü¡ACD ¨º»ò´N¤Á´«¨ì¸ô®|³Ì«áªº¥Ø¿ýùØ¡C¨Ò¦p¡G
CD C:\MASM611 ¡÷Åܧó C: ªº¤u§@¥Ø¿ý¬° C:\MASM611
MD «ü¥O«e±¤w¸g´£¹L¡A½Ð°Ñ¾\³oùØ¡C
RD «ü¥O¤]¥i¥H¼g¦¨ RMDIR ( remove directory )¡A¬O¥Î¨Ó§R°£¤l¥Ø¿ý¡A¦ý¦b§R°£¤§«e¡A¸Ó¤l¥Ø¿ý¤º¤£¯à¦³¥ô¦ó¤º®e¡A§_«hµLªk§R°£¡CRD ªº»yªk¬O¡G
RD [ºÏºÐ¾÷:]¸ô®| RMDIR [ºÏºÐ¾÷:]¸ô®|
REN «ü¥O¤]¥i¥H¼g¦¨ RENAME¡A¬O¥Î¨Ó§ó§ïÀɮצWºÙªº¡A¦ý¬O¥¦µLªk§ó§ï¥Ø¿ý¦WºÙ¡C¥¦ªº»yªk¬O¡G
REN [ºÏºÐ¾÷:][¸ô®|]ÂÂÀÉ®× ·sÀɦW RENAME [ºÏºÐ¾÷:][¸ô®|]ÂÂÀÉ®× ·sÀɦW
REN ¥u¬O¥Î¨Ó§ó§ïÀɮצWºÙ¡A¦]¦¹§ó§ï«áªºÀɮפ´¦bì¨Óªº¥Ø¿ýùØ¡C
CLS «ü¥O¬O¥Î¨Ó²M°£¿Ã¹õ¡A¬O clear screen ªºÁY¼g¡A¥¦¨S¦³°Ñ¼Æ»P¿ï¶µ¡C
DOS ªº¥~³¡«ü¥O¡A¨ä¹ê³£¬OÀx¦s¦bºÏºÐ¾÷¤Wªº¥i°õ¦æÀÉ¡CDOS ¥i°õ¦æÀɪº°ÆÀɦW¦³¨âºØ¡G①COM¡B②EXE¡An°õ¦æ¥~³¡«ü¥O®É¡A¿é¤J¥i°õ¦æÀɪº¥DÀɦW§Y¥i¡C¹ï²{¦b ( ¥Á°ê 111 ¦~ ) ¦Ó¨¥¡ADOS ªº¥~³¡«ü¥O´X¥G¨S¦³¤°»ò¥Î¡A¦b¦¹¤p¤ì°¸¶È¤¶²Ð ATTRIB.EXE¡C
ATTRIB.EXE ¹w³]¬O¦b¡uC:\DOS¡v¥Ø¿ýùØ¡A¥¦¬O¥Î¨ÓÅã¥Ü©ÎÅܧó«ü©wÀɮתºÄÝ©Ê ( attribute )¡A¨ä»yªk¬O¡G
ATTRIB [+A|-A] [+H|-H] [+R|-R] [+S|-S] [ºÏºÐ¾÷:][¸ô®|][ÀɮצWºÙ] [/S]
nÅã¥Ü©ÎÅܧó«ü©wÀɮתºÄÝ©Ê¥H¡u[ºÏºÐ¾÷:][¸ô®|][ÀɮצWºÙ]¡vªí¥Ü¡AÀɮצWºÙ¥i¥H¨Ï¥Î¸U¥Î¦r¤¸¡C
DOS ªºÀÉ®×Äݩʦ³¥|ºØ¡G«O¦s ( archive )¡BÁôÂà ( hidden )¡B°ßŪ ( read only )¡B¨t²Î ( system )¡C
«O¦sÄݩʥΦb³Æ¥÷ÀɮסC·íÀÉ®×·s«Ø¥ß©ÎקïÀɮפº®e®É¡A·|³]©w«O¦sÄÝ©Ê¡Aªí¥Ü³oÓÀÉ®×ÁÙ¥¼³Æ¥÷¡F¦Ó¨Ï¥Î BACKUP¡BXCOPY ©Î¨ä¥L³Æ¥÷³nÅé½Æ»sÀɮ׮ɡA³o¨Ç³nÅé·|²M°£«O¦sÄÝ©Ê¡Aªí¥Ü¦¹Àɮפw³Æ¥÷¹L¤F¡C§Ú̦b¨â¦¸³Æ¥÷Àɮפ§¶¡¡A¤@©w·|קï©Î§ó·s¬Y¨ÇÀɮסA©Î«Ø¥ß·sÀɮסA³o¨ÇÀɮתº«O¦sÄÝ©Ê·|³Q³]©w¡C·í¤U¦¸³Æ¥÷®É¡ABACKUP¡BXCOPY µ¥³Æ¥÷³nÅé¥u»Ý½Æ»s«O¦sÄݩʬ°³]©wªºÀɮקY¥i¡A¯à°÷¸`¬Ù¤j¶q®É¶¡¡C
·íÀɮ׳]©wÁôÂÃÄݩʮɡA¥Î DIR «ü¥O¤£·|Åã¥Ü¦¹ÀɮסA¦ý¤´¯à¥¿±`¨Ï¥Î¡A¨Ò¦p¥i°õ¦æÀɤ´¯à°õ¦æ¡B¯Â¤å¦rÀɤ´¯à¶}±Ò¡A¬Æ¦Ü¥i¥H§R°£¡A·íµM§A¥²¶·ª¾¹DÀɦW¤~¦æ¡C·íÀɮ׳]©w°ßŪ®É¡A¥u¯àŪ¨ú¸ÓÀɮצӤ£¯à¼g¤J¡A¤]µLªk§R°£¡A¦ý¥i¥H½Æ»s¡C·íÀɮ׳]©w¨t²ÎÄݩʮɡA¥Î DIR «ü¥O¤]¬Ý¤£¨ì¸ÓÀɮסF¦pªGÀɮ׳]©w¤F¨t²ÎÄÝ©Ê¡A¥²¶·¥ý²M°£¨t²ÎÄÝ©Ê¡A¤~¯àÅܧó¨ä¥LÄÝ©Ê¡C
¤U±²Ä¤@Ó¨Ò¤l¬O§â·í«e¥Ø¿ý¤ºªº ML.EXE ÄÝ©ÊÅܬ°ÁôÂáA²Ä¤GÓ¨Ò¤l¬O§â·í«e¥Ø¿ý¤º°ÆÀɦW¬° TXT ªº©Ò¦³ÀÉ®×Åܬ°°ßŪ¡G
ATTRIB +H ML.EXE ATTRIB +R *.TXT
¦pªG¨Ï¥ÎªÌ¦³¤U¹F¡u/S¡v¡A¨º»ò ATTRIB ·|·j´M¸Ó¸ô®|¤Uªº©Ò¦³¤l¥Ø¿ý¬O§_¦³«ü©wªºÀɮסA¦pªG¦³¤]·|¤@¨ÖÅã¥Ü©ÎÅܧóÄÝ©Ê¡C
ATTRIB ¤]¥i¥H¬°¥Ø¿ý³]©w©Î²M°£ÄÝ©Ê¡A¥un¸ô®|¦W¥¿½T¥B¬Ù²¤ÀɦW´N¦æ¤F¡C¦ý¤]¦ü¥G¥u¦³ÁôÂÃÄݩʦ³¨Ç¥Î¡A¦pªG§â¥Ø¿ý³]¬°°ßŪ¡AÁÙ¬O¥i¥H§R°£©Î¼W²K¸Ó¥Ø¿ýùرªºÀɮסC©³¤Uªº¨Ò¤l¬O¨Ï¡uC:\MASM611¡vÅܬ°ÁôÂáG
ATTRIB +H C:\MASM611
¦pªGnÅã¥ÜÀɮשΥؿýªºÄÝ©Ê¡A§â¡u[+A|-A] [+H|-H] [+R|-R] [+S|-S]¡v¥þ³¡¬Ù²¤¡A´N¯à¹F¨ì¥Øªº¡C¨Ò¦p©³¤Uªº¨Ò¤l¬OÅã¥Ü¡uC:¡v®Ú¥Ø¿ý¤¤©Ò¦³ÀɮתºÄÝ©Ê¡G
C:\>ATTRIB M*.* SHR C:\IO.SYS SHR C:\MSDOS.SYS R C:\COMMAND.COM A C:\WINA20.386 A C:\CONFIG.SYS A C:\AUTOEXEC.BAT A C:\ET3.BAT A C:\MSGLST
¥i¥H¬Ý¨£ DOS ¤¤«Ü«nªºÀÉ®× IO.SYS¡BMSDOS.SYS Äݩʬ°¨t²Î¡BÁôÂáB°ßŪ¡A¦Ó COMMAND.COM ¬O°ßŪ¡A¨ä¾lÀɮ׫O¦sÄݩʳ£¬O³]©wªº¡C