Windows XP ±±¨î¥x¥D­n©R¥O¸ÑÄÀ
1812bear ¾ã²z
¤@¡B¬G»Ù«ì´_±±¨î¥x·§­z
¦pªG¦w¥þ¼Ò¦¡©M¨ä¥L±Ò°Ê¿ï¶µ¤£°_§@¥Î¡A¥i¥H¦Ò¼{¨Ï¥Î¬G»Ù«ì´_±±¨î¥x¡C¦ý¬O¡A¥u¦³¥i
¥H¨Ï¥Î°ò¥»©R¥OÃѧO¨Ã©w¦ì¦³°ÝÃDªºÅX°Êµ{§Ç©M¤å¥óªº¶i¶¥¥Î¤á¡A¤~«Øij¨Ï¥Î¦¹¤èªk¡C¥t¥~¡A
­n¨Ï¥Î¬G»Ù«ì´_±±¨î¥x¡A±z¥²¶·¨ã¦³ºÞ²z­û¨­¥÷¡C
¨Ï¥Î¬G»Ù«ì´_±±¨î¥x¡A¥i¥H±Ò¥Î©M¸T¥ÎªA°È¡A®æ¦¡¤ÆÅX°Ê¾¹¡A¦b¥»¦aÅX°Ê¾¹¤WŪ¼g¸ê®Æ
¡]¥]¬A³Q®æ¦¡¤Æ¬° NTFS ¤å¥ó¨t²Î ªºÅX°Ê¾¹¡^¡A¨Ã°õ¦æ³\¦h¨ä¥LºÞ²z¥ô°È¡C¦pªG»Ý­n³q¹L±q
³nºÐ©Î CD-ROM ½Æ»s¤@­Ó¤å¥ó¨ìµwºÐ¨Ó­×´_¨t²Î¡A©ÎªÌ»Ý­n¹ï¤@­Óªý¤î¹q¸£¥¿±`±Ò°ÊªºªA
°È¶i¦æ­«·s°t¸m¡A¬G»Ù«ì´_±±¨î¥x±N¯S§O¦³¥Î¡C
¦³¨âºØ¤èªk±Ò°Ê¬G»Ù«ì´_±±¨î¥x¡G
¡P ¦pªGµLªk±Ò°Ê¹q¸£¡A¥i¥H±q¦w¸Ë CD ¤W°õ¦æ¬G»Ù«ì´_±±¨î¥x¡C
¡P ¥t¥~¡A¥i¥H±N¬G»Ù«ì´_±±¨î¥x¦w¸Ë¦b¹q¸£¤W¡A¥H«K©ó¦bµLªk­«·s±Ò°Ê Windows ®É¤´
¥i¨Ï¥Î¬G»Ù«ì´_±±¨î¥x¡CµM«á¡A±q±Ò°Ê®É¥i¥Îªº¾Þ§@¨t²Î¦Cªí¤¤¿ï¾Ü¬G»Ù«ì´_±±¨î¥x
¿ï¶µ¡C
¦b±Ò°Ê¬G»Ù«ì´_±±¨î¥x«á¡A¥²¶·¿ï¾Ü­nµn¿ýªºÅX°Ê¾¹¡]¦pªG¦³Âù­«·s±Ò°Ê°Ê©ÎªÌ¦h­«·s±Ò°Ê°Ê¨t
²Î¡^¥B¥²¶·¥ÎºÞ²z­û±K½Xµn¿ý¡C
¥i¥H¨Ï¥Î±±¨î¥x´£¨Ñªº©R¥O¨Ó§¹¦¨Â²³æ¾Þ§@¡]¤ñ¦p§ó§ï¨ì¤£¦P¥Ø¿ý©ÎÀ˵ø¥Ø¿ýµ¥¡^©M¥\
¯à§ó¬°±j¤jªº¾Þ§@¡]¤ñ¦p­×´_°_©l¤Æ®°°Ïµ¥¡^¡C³q¹L¦b¬G»Ù«ì´_±±¨î¥x©R¥O´£¥Ü²Å¤UÁä¤J help¡A
¥i¦b¬G»Ù«ì´_±±¨î¥x¤WÅã¥Ü¦³Ãö©R¥OªºÀ°§U«H®§¡C
¤@¥¹°õ¦æ¬G»Ù«ì´_±±¨î¥x¡A¦b©R¥O´£¥Ü²Å¤UÁä¤J¡uhelp ¡v¥iÀò±oÃö©ó¥i¥Î©R¥OªºÀ°§U¡C
ų©ó¦b¨Ï¥Î«ì´_±±¨î¥xªº®É­Ô¡A¨Ï¥Î¡uhelp ¡v©R¥O±a¨Óªº¤£¤è«K¡A¥H¤Î¬°´£¨Ñµ¹¦U¦ì¤j«L
¥­®É¬ã¨s¤§¥Î¡A¯S±qWindows XP ªºÀ°§U¸Ì­±´£¨ú¤F±±¨î¥x¥D­n©R¥Oªº¸ÑÄÀ¡A¾ã²z¦p¤U¡C¤G¡B©R¥O¸Ô²Ó¸ÑÄÀ
Attrib
§ó§ï³æ­Ó¤å¥ó©Î¥Ø¿ýªºÄÝ©Ê¡C¸Ó©R¥O³]¸m©Î§R°£«ü¬£µ¹¤å¥ó©Î¥Ø¿ýªº¥uŪ¡B¨t²Î¡B¦sÀÉ¡BÁô
ÂÃ¥H¤ÎÀ£ÁYÄÝ©Ê¡C
§t¦³¤U¦C°Ñ¼Æªº attrib ©R¥O¶È·í¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C§t¦³¤£¦P°Ñ¼Æªº attrib
©R¥O¥i¦b©R¥O´£¥Ü²Å¤¤¨Ï¥Î¡C
attrib [ +r|-r] [ +s|-s] [ +h|-h] [ +c|-c] [ [ drive:] [ path] filename]
°Ñ¼Æ
+r ³]¸m¥uŪÄÝ©Ê¡C
-r ²M°£¥uŪÄÝ©Ê¡C
+s ³]¸m¨t²ÎÄÝ©Ê¡C
-s ²M°£¨t²ÎÄÝ©Ê¡C
+h ³]¸mÁôÂÃÄÝ©Ê¡C
-h ²M°£ÁôÂÃÄÝ©Ê¡C
+c ³]¸mÀ£ÁYÄÝ©Ê¡C
-c ²M°£À£ÁYÄÝ©Ê¡C
[ [ drive:] [ path] filename]
«ü©w­n³B²zªº¥Ø¿ý©Î¤å¥óªº¦ì¸m©M¦WºÙ¡C¥i¥H¤@¦¸¥u§ó§ï¤@­Ó¤å¥ó¡A¤]¥i¥H§ó§ï¾ã­Ó¥Ø¿ý¡C
ª`·N¡G¥i¥H¥Î¤@­Ó©R¥O§ó§ï¤@­Ó¤å¥ó©Î¥Ø¿ýªº¦h­ÓÄÝ©Ê¡C
Batch
°õ¦æ¦b¤å¥»¤å¥ó¤¤«ü©wªº©R¥O¡Cbatch ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C¬G»Ù«ì´_±±
¨î¥x¥i¥H±q¦w¸Ë CD ¤¤±Ò°Ê¡C
batch input_file [ output_file]°Ñ¼Æ
input_file
«ü©w¥]§t­n°õ¦æªº©R¥O¦Cªíªº¤å¥»¤å¥ó¡CInput_file ¥i¥H¥ÑÅX°Ê¾¹¸¹©M«_¸¹¡B¥Ø¿ý¦W¡B¤å¥ó
¦W©Î¥¦­Ìªº²Õ¦Xºc¦¨¡C
output_file
¦pªG«ü©w¡A«h¦b©R¦W¤å¥ó¤¤¦sÀx©R¥O¿é¥X¡C¦pªG¨S¦³«ü©w¡A¿é¥X±NÅã¥Ü¦b¿Ã¹õ¤W¡C
½d¨Ò
¤U¨Ò±N°õ¦æ§å¦¸³B²z¤å¥ó C:\ Jobs\ Find.txt ¨Ã±N¿é¥X¦sÀx¦b¤å¥ó C:\ Jobs\ Results.txt ¤¤¡G
batch c:\ jobs\ find.txt c:\ jobs\ results.txt
ª`·N¡G§å¦¸³B²z¤å¥ó¤£¯à¥]§t´O®Mªº batch ©R¥O¡C
Bootcfg
bootcfg ©R¥O±Ò°Ê°t¸m©M¬G»Ù«ì´_¡]¹ï©ó¤j¦h¼Æ¹q¸£¡A§Y boot.ini ¤å¥ó¡^¡C
§t¦³¤U¦C°Ñ¼Æªº bootcfg ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a
¦³¤£¦P°Ñ¼Æªº bootcfg ©R¥O¡C
¥Îªk:
bootcfg /default ³]¸m¹w³]°_©l¤Æ¶µ¡C
bootcfg /add ¦V°_©l¤Æ¦Cªí¤¤·s¼W Windows ¦w¸Ë¡C
bootcfg /rebuild ­«½Æ¥þ³¡ Windows ¦w¸Ë¹Lµ{¨Ã¤¹³\¥Î¤á¿ï¾Ü­n·s¼Wªº¤º®e¡C
ª`·N¡G¨Ï¥Î bootcfg /rebuild ¤§«e¡AÀ³¥ý³q¹L bootcfg /copy ©R¥O³Æ¥÷ boot.ini ¤å¥ó¡C
bootcfg /scan ±½ºË¥Î©ó Windows ¦w¸Ëªº©Ò¦³ºÏºÐ¨ÃÅã¥Üµ²ªG¡C
ª`·N¡G³o¨Çµ²ªG³QÀRºA¦sÀx¡A¨Ã¥Î©ó¥»¦¸·|¸Ü¡C¦pªG¦b¥»¦¸·|¸Ü´Á¶¡ºÏºÐ°t¸mµo¥ÍÅܤơA
¬°Àò±o§ó·sªº±½ºË¡A¥²¶·¥ý­«·s±Ò°Ê¹q¸£¡AµM«á¦A¦¸±½ºËºÏºÐ¡C
bootcfg /list ¦C¥X°_©l¤Æ¦Cªí¤¤¤w¦³ªº±ø¥Ø¡C
bootcfg /disableredirect ¦b±Ò°Ê°_©l¤Æµ{§Ç¤¤¸T¥Î­«©w¦V¡Cbootcfg /redirect [ PortBaudRrate] |[ useBiosSettings]
¦b±Ò°Ê°_©l¤Æµ{§Ç¤¤³q¹L«ü©w°t¸m±Ò¥Î­«©w¦V¡C
½d¨Ò¡G
bootcfg /redirect com1 115200
bootcfg /redirect useBiosSettings
Chdir (Cd)
Åã¥Ü·í«e¥Ø¿ýªº¦WºÙ¡A©Î§ó§ï·í«eªº¸ê®Æ§¨¡C
§t¦³¤U¦C°Ñ¼Æªº chdir ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¦³
¤£¦P°Ñ¼Æªº chdir ©R¥O¡C
chdir [ drive:] [ path] [ ..]
©ÎªÌ
cd [ drive:] [ path] [ ..]
°Ñ¼Æ µL
¦pªG¤£±a¥ô¦ó°Ñ¼Æ¡Achdir ±NÅã¥Ü·í«eÅX°Ê¾¹©M¸ê®Æ§¨ªº¦WºÙ¡C¥u»PÅX°Ê¾¹¸¹¤@°_¨Ï¥Î¡]¨Ò
¦p cd C:¡^¡Achdir ±NÅã¥Ü«ü©wÅX°Ê¾¹¤Wªº·í«e¥Ø¿ý¡C
[ drive:] [ path]
«ü©w­n§ï¨ìªºÅX°Ê¾¹¡]¦pªG¤£¬O·í«eÅX°Ê¾¹¡^©M¥Ø¿ý¡C
[ ..]
«ü©ú­n§ï¨ì¤÷¸ê®Æ§¨¡C¦b chdir ©M¨â­Ó¥yÂI¤§¶¡´¡¤J¤@­ÓªÅ®æ¡C
ª`·N
¡P Chdir ±NªÅ®æµø§@¤À¹j²Å¡C¥Î¤Þ¸¹±N¥]§tªÅ®æªº¥Ø¿ý¦WÂX°_¨Ó¡C¨Ò¦p¡G
cd "driver cache"
¡P Chdir ¥u¾A¥Î©ó·í«e Windows ¦w¸Ëªº¨t²Î¥Ø¿ý¡B¥i²¾°Ê´CÅé¡BµwºÐ¤À°Ïªº®Ú¥Ø¿ý©Î¥»
¦a¦w¸Ë·½¡CChkdsk
«Ø¥ß¨ÃÅã¥ÜºÏºÐªºª¬ºA³ø§i¡C Chkdsk ©R¥OÁÙ¥i¦C¥X¨ÃªÈ¥¿ºÏºÐ¤Wªº¿ù»~¡C
§t¦³¤U¦C°Ñ¼Æªº chkdsk ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a
¦³¤£¦P°Ñ¼Æªº chkdsk ©R¥O¡C
vol [ drive:] [ chkdsk [ drive:] [ /p] [ /r]
°Ñ¼Æ
µL ¦pªG¤£±a¥ô¦ó°Ñ¼Æ¡Achkdsk ±NÅã¥Ü·í«eÅX°Ê¾¹¤¤ªººÏºÐª¬ºA¡C
drive:
«ü©w­n chkdsk ÀˬdªºÅX°Ê¾¹¡C
/p
§Y¨ÏÅX°Ê¾¹¤£¦b chkdsk ªºÀˬd½d³ò¤º¡A¤]°õ¦æ¹ý©³Àˬd¡C¸Ó°Ñ¼Æ¤£¹ïÅX°Ê¾¹°µ¥ô¦ó§ó§ï¡C
/r
§ä¨ìÃa®°°Ï¨Ã«ì´_¥iŪ¨úªº«H®§¡CÁô§tµÛ /p °Ñ¼Æ¡C
ª`·N
¡P Chkdsk ©R¥O»Ý­n Autochk.exe ¤å¥ó¡C¦pªG¤£¯à¦b±Ò°Ê¥Ø¿ý¡]¹w³]¬°
\ %systemroot%\ System32¡^¤¤§ä¨ì¸Ó¤å¥ó¡A±N¸ÕµÛ¦b Windows ¦w¸Ë CD ¤¤§ä¨ì¥¦¡C¦p
ªG¦³¦h°_©l¤Æ¨t²Îªº¹q¸£¡A¥²¶·«OÃÒ¬O¦b¥]§t Windows ªºÅX°Ê¾¹¤W¨Ï¥Î¸Ó©R¥O¡C
ų©ó¦h¦¸¦³¤Hµo¥Í¨Ï¥Îwindowsªºcheckdskµ{§Ç¾ã²z¥X²{¤å¥ó¥á¥¢¤Î¤À°Ï¥X°ÝÃDªºµwºÐ¡A¾É­P«ì½Æ¸ê®Æªº¹Á¸Õ¥¢±Ñ¡C¦p¦¹¶K
¦b¦¹¡A¾G­««ü¥X¡G
checkdskµ{§Çªº¥\¯à¬O¦^¦¬¥á¥¢ªº³æ­Ó ºÏ²ÕªÅ¶¡¡]¦]¬°FAT²V¶Ã¾É­P ºÏ²Õ»~¤À°t¤Î¥æ¤e ºÏ²Õ³s±µµ¥¡^¡A
¦Ó¤£¬O«ìÂФå¥ó¡]¥i¯à¦û¥Î¦h­Ó ºÏ²Õ¡C¦Ó¥B¥¦¹ï©ó³Q§R°£ªº¤å¥ó¬O¤£¾Þ§@ªº¡C
¨Ï¥Îcheckdsk³o­Óµ{§Ç«á¡A§A¥u·|±o¨ì³\¦hfile000x.chkÃþ¦üªº¤å¥ó¡A³o¨Ç¤å¥ó¤j¤pµ¥©ó³o­Ó¤À°Ï ºÏ²Õªº¤j¤p¡C°£«D§Aªº¤åÀɦû
¥ÎªºªÅ¶¡¤£¤j©ó¤@­Ó ºÏ²Õ¡A§_«h³o¨Çchk¤å¥ó¬O¨S¦³¥ô¦ó§Q¥Î»ù­Èªº¡C¤]´N¤£­n«ü±æ¯à«ì½Æ¸ê®Æ¤F¡C
¹ï©ó¦]»~§R°£¤å¥ó¡B¤À°Ï¾Þ§@¥¢»~µ¥¾É­P¸ê®Æ¥á¥¢¦Ó»Ý­n«ì´_ªº±¡ªp¡A»Ý­n¦Ò¼{­º¥ý¨Ï¥Î±Mªùªº¸ê®Æ/¤å¥ó«ì´_³nÅé¡A¦p
FinaDate2,EasyRecovery6,FindNTµ¥³nÅé¡A¦¹®Éµ´¹ï¸T¤î­º¥ý¨Ï¥Îcheckdsk¡C


Cls
²M°£¿Ã¹õ¡C
²M°£«áªº¿Ã¹õ¥uÅã¥Ü©R¥O´£¥Ü²Å©M´¡¤JÂI¡CCopy
±N³æ­Ó¤å¥ó½Æ»s¨ì¨ä¥L¦ì¸m¡C§t¦³¤U¦C°Ñ¼Æªº copy ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C
¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¤£¦P°Ñ¼Æªº copy ©R¥O¡C
copy source [ destination]
°Ñ¼Æ
source
«ü©w­n³Q½Æ»sªº¤å¥óªº¦ì¸m©M¦WºÙ¡CSource ¥i¥ÑÅX°Ê¾¹¸¹©M«_¸¹¡B¥Ø¿ý¦W¡BÀɮצW©Î²Õ¦X©Ò
²Õ¦¨¡C
destination
«ü©w­n½Æ»s¨ì¨ä¤¤ªº¤å¥ó©Î¤å¥ó¶°ªº¦ì¸m©M¦WºÙ¡CDestination ¥i¥H¥ÑÅX°Ê¾¹¸¹©M«_¸¹¡B¤å
¥ó§¨¦W¡BÀɮצW¤Î²Õ¦X¦Ó²Õ¦¨¡C
ª`·N
¡P ·½¥i¥H¬O¥i²¾°Ê´CÅé¡B·í«e Windows ¦w¸Ëªº¨t²Î¥Ø¿ý¤¤ªº¥ô¦ó¥Ø¿ý¡BÅX°Ê¾¹ªº®Ú¥Ø¿ý¡B
¥»¦a¦w¸Ë·½©Î Cmdcons ¥Ø¿ý¡C
¡P ¥Ø¼Ð¥i¥H¬O°£¥i²¾°Ê´CÅé¥H¥~ªº¥ô¦ó»P·½¬Û¦Pªº¦ì¸m¡C¦pªG¨S¦³«ü©w¥Ø¼Ð¡A«h¹w³]¬°
·í«e¥Ø¿ý¡C
¡P Windows ¦w¸Ë CD ¤¤ªºÀ£ÁY¤å¥ó¦b½Æ»s¹Lµ{¤¤¸ÑÀ£ÁY¡C
¡P Copy ¤£¤ä«ù³q°t²Å¡C
Delete (Del)
§R°£³æ­Ó¤å¥ó¡C§t¦³¤U¦C°Ñ¼Æªº delete ©Î del ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C¥i
¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¦³¤£¦P°Ñ¼Æªº delete ©Î del ©R¥O¡C
delete [ drive:] [ path] filename
©ÎªÌ
del [ drive:] [ path] filename
°Ñ¼Æ
[ drive:] [ path] filename«ü©w­n§R°£ªº¤å¥óªº¦ì¸m©M¦WºÙ¡C
ª`·N
¡P Delete ¥u¾A¥Î©ó·í«e Windows ¦w¸Ëªº¨t²Î¥Ø¿ý¡B¥i²¾°Ê´CÅé¡BµwºÐ¤À°Ïªº®Ú¥Ø¿ý©Î
¥»¦a¦w¸Ë·½¡C
Dir
Åã¥Ü¥Ø¿ý¤¤ªº¤å¥ó©M¤l¥Ø¿ý¦Cªí¡C§t¦³¤U¦C°Ñ¼Æªº dir ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i
¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¦³¤£¦P°Ñ¼Æªº dir ©R¥O¡C
dir [ drive:] [ path] [ filename]
°Ñ¼Æ
[ drive:] [ path]
«ü©w­nÀ˵ø¦CªíªºÅX°Ê¾¹©M¥Ø¿ý¡C
[ filename]
«ü©w­nÀ˵ø¦Cªíªº¯S©w¤å¥ó©Î¤@²Õ¤å¥ó¡C¥i¥H¨Ï¥Î¦h­ÓÀɮצW¡CÀɮצW¥i¥H¥ÎªÅ®æ¡B³r¸¹©Î
¤À¸¹¹j¶}¡C¥i¥H¦b filename °Ñ¼Æ¤¤¨Ï¥Î³q°t²Å¡]?©M *¡^Åã¥Ü¤@²Õ¤å¥ó¡C
Dir ÁÙ¦C¥XºÏºÐªº¨÷¼Ð©M§Ç¦C½X¡A¥H¤Î©Ò¦C¤å¥óªº¼Æ¥Ø¡A²Ö­p¤j¤p©MºÏºÐ¤W³Ñ¾lªº¥i¥ÎªÅ¶¡
¡]¥H¦r¦ê­p¡^¡C¹ï©ó¨C­Ó¤å¥ó©M¤l¥Ø¿ý¦Ó¨¥¡Adir ¦C¥X¤å¥óªºÂX®i¦W¡B¤å¥ó¦r¦ê¼Æ¡B¤å¥óªº
³Ì«á­×§ï¤é´Á©M®É¶¡¥H¤Î¤U¦C¤å¥óÄÝ©Ê¡]¦pªG¥i¥Î¡^¡G
ÁY¼g ÄÝ©Ê
d ¥Ø¿ý
h ÁôÂäå¥ó
s ¨t²Î¤å¥ó
e ¥[±K
r ¥uŪ
a ¦sÀɤå¥ó
c ¤wÀ£ÁY
p ­«·s¤ÀªRÂI
ª`·N¡G
Dir ¶È¾A¥Î©ó·í«e Windows ¦w¸Ëªº¨t²Î¥Ø¿ý¡B¥i²¾°Ê´CÅé¡BµwºÐ¤À°Ïªº®Ú¥Ø¿ý©Î¥»¦a¦w¸Ë·½¡CDisable
¸T¥Î Windows XP ¡BWindows 2000 ©Î Windows NT 4.0 ¨t²ÎªA°È©Î³]³ÆÅX°Êµ{§Ç¡Cdisable ©R
¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C
disable {service_name] |[ device_driver_name}
°Ñ¼Æ
service_name
­n¸T¥Îªº¨t²ÎªA°È¦WºÙ¡C
device_driver_name
­n¸T¥Îªº³]³ÆÅX°Êµ{§Ç¦WºÙ¡C
½d¨Ò
¤U¨Ò±N¸T¥Î Eventlog ªA°È¡G
disable eventlog
ª`·N
¡P disable ©R¥O±N«ü©wªºªA°È©ÎÅX°Êµ{§Çªº±Ò°ÊÃþ«¬³]¬° SERVICE_DISABLED ¡C
¡P ¨Ï¥Î disable ©R¥O¸T¥Î¨t²ÎªA°È©Î³]³ÆÅX°Êµ{§Ç®É¡A¸Ó¨t²ÎªA°È©Î³]³ÆÅX°Êµ{§Ç¤W¦¸
±Ò°ÊÃþ«¬ªº¦WºÙ±NÅã¥Ü¦b¿Ã¹õ¤W¡CÀ³¸Ó°O¤U¸Ó¦WºÙ¡A¥H«K¦b»Ý­n®É¨Ï¥Î enable ©R¥O
±N±Ò°ÊÃþ«¬«ì´_¬°¤W¦¸ªº³]¸m¡C
¡P ¦@¦³¤­ºØ±Ò°ÊÃþ«¬¡C«e¤TºØÃþ«¬¬O¡GSERVICE_AUTO_START ¡BSERVICE_DISABLED ©M
SERVICE_DEMAND_START ¡C¹ïÀ³ªº¼Ð·Ç±Ò°ÊÃþ«¬¡G¦Û°Ê¡B¸T¥Î©M¤â°Ê¡A³q±`¨Ï¥Î¡u­pºâ
¾÷ºÞ²z¡vºÞ²z¤u¨ã¤¤ªº¡uªA°È¡v¶i¦æ°t¸m¡C«á¨âºØÃþ«¬¬O¡GSERVICE_BOOT_START ©M
SERVICE_SYSTEM_START¡A³q±`¥Î©ó°t¸m¸ü¤J³]³ÆÅX°Êµ{§Çªº¤è¦¡¡C¨Ò¦p¡A¦b±Ò°Ê­pºâ
¾÷®É©Î±Ò°Ê Windows ®É¸ü¤J¡C
Diskpart
«Ø¥ß©M§R°£µwºÐÅX°Ê¾¹¤Wªº¤À°Ï¡Cdiskpart ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C
diskpart [ /add |/delete] [ device_name |drive_name |partition_name] [ size]
°Ñ¼Æ µL¦pªG¤£±a¥ô¦ó°Ñ¼Æ¡Adiskpart ©R¥O±N±Ò°Ê diskpart ªº Windows ¦r²Å¼Ò¦¡ª©¥»¡C
/add
«Ø¥ß·sªº¤À°Ï¡C
/delete
§R°£²{¦³¤À°Ï¡C
device_name
­n«Ø¥ß©Î§R°£¤À°Ïªº³]³Æ¡C³]³Æ¦WºÙ¥i±q map ©R¥Oªº¿é¥XÀò±o¡C¨Ò¦p¡A³]³Æ¦WºÙ¡G
\ Device\ HardDisk0
drive_name
¥HÅX°Ê¾¹¸¹ªí¥Üªº«Ý§R°£¤À°Ï¡C¶È»P /delete ¦P®É¨Ï¥Î¡C¥H¤U¬OÅX°Ê¾¹¦WºÙªº½d¨Ò¡G
D:
partition_name
¥H¤À°Ï¦WºÙªí¥Üªº«Ý§R°£¤À°Ï¡C¥i¥N´À drive_name ¨Ï¥Î¡C¶È»P /delete ¦P®É¨Ï¥Î¡C¥H¤U¬O
¤À°Ï¦WºÙªº½d¨Ò¡G
\ Device\ HardDisk0\ Partition1
¤j¤p
­n«Ø¥ßªº¤À°Ï¤j¤p¡A¥H¥ü¦r¦ê (MB)ªí¥Ü¡C¶È»P /add ¦P®É¨Ï¥Î¡C
½d¨Ò
¤U¨Ò±N§R°£¤À°Ï¡G
diskpart /delete \ Device\ HardDisk0\ Partition3
diskpart /delete F:
¤U¨Ò±N¦bµwºÐ¤W·s¼W¤@­Ó 20 MB ªº¤À°Ï¡G
diskpart /add \ Device\ HardDisk0 20Enable
±Ò¥Î Windows XP ¡BWindows 2000 ©Î Windows NT 4.0 ¨t²ÎªA°È©Î³]³ÆÅX°Êµ{§Ç¡Cenable ©R
¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C
enable {service_name |device_driver_name}[ startup_type]
°Ñ¼Æ
service_name
­n±Ò¥Îªº¨t²ÎªA°Èªº¦WºÙ¡C
device_driver_name
­n±Ò¥Îªº³]³ÆÅX°Êµ{§Çªº¦WºÙ¡C
startup_type
­n¬°ªA°È©Î³]³ÆÅX°Êµ{§Ç«ü¬£ªº±Ò°ÊÃþ«¬¡C¦³®Äªº±Ò°ÊÃþ«¬¥]¬A¡G
¡P SERVICE_BOOT_START
¡P SERVICE_SYSTEM_START
¡P SERVICE_AUTO_START
¡P SERVICE_DEMAND_START
½d¨Ò
¤U¨Ò±N Eventlog ªA°Èªº±Ò°ÊÃþ«¬³]¬°¦Û°Ê©Î SERVICE_AUTO_START¡G
enable eventlog service_auto_start
ª`·N
¡P ¦pªG¤£«ü¬£±Ò°ÊÃþ«¬¡Aenable ©R¥O±N¦C¥X¦b service_name ¤¤«ü©wªºªA°È©Î³]³ÆÅX°Ê
µ{§Çªº·í«e±Ò°ÊÃþ«¬¡C
¡P ¨Ï¥Î enable ©R¥O§ó§ï±Ò°ÊÃþ«¬®É¡A¤W¦¸±Ò°ÊÃþ«¬ªº¦WºÙ±NÅã¥Ü¦b¿Ã¹õ¤W¡CÀ³¸Ó°O¤U
¸Ó¦WºÙ¡A¥H«K¦b»Ý­n®É±N±Ò°ÊÃþ«¬«ì´_¬°¤W¦¸ªº³]¸m¡CExit
Ãö³¬¬G»Ù«ì´_±±¨î¥x¨Ã­«·s±Ò°Ê¹q¸£¡Cexit ©R¥O¶È¦b¨Ï¥Î¡u¬G»Ù«ì´_±±¨î¥x¡v®É¤~¥i¥Î¡C
exit
°Ñ¼Æ
µL Expand
±qÀ£ÁY¤å¥ó¤¤´£¨ú¤å¥ó¡C³q¹L¸Ó©R¥O¥i±q .cab ¤å¥ó©ÎÀ£ÁY¤å¥ó¤¤´£¨úÅX°Êµ{§Ç¤å¥ó¡C
§t¦³¤U¦C°Ñ¼Æªº expand ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a
¦³¤£¦P°Ñ¼Æªº expand ©R¥O¡C
expand source [ /F:filespec}] [ destination] [ /d] [ /y]
°Ñ¼Æ
source
«ü©w­n®i¶}ªº¤å¥ó¡C¦pªG·½¤å¥ó¥u¥]§t¤@­Ó¤å¥ó¡A½Ð¨Ï¥Î¸Ó¿ï¶µ¡Csource ¥i¥ÑÅX°Ê¾¹¸¹©M«_
¸¹¡B¥Ø¿ý¦W¡BÀɮצW©Î²Õ¦X©Ò²Õ¦¨¡C¤£¯à¨Ï¥Î³q°t²Å¡C
/f:size
¦pªG·½¤å¥ó¥]§t¦h­Ó¤å¥ó¡A«ü©w­n´£¨úªº¤å¥óªº¦WºÙ¡C¥i¥H¹ï­n´£¨úªº¤å¥ó¨Ï¥Î³q°t²Å¡C
destination
«ü©w´£¨ú¤å¥ó©Î¨C­Ó³æ¿W¤å¥óªº¥Ø¼Ð¥Ø¿ý©M¡]©Î¡^ÀɮצW¡C
/d
¦C¥X CAB ¤å¥ó¤¤¥]§tªº¤å¥ó¦Ó¤£®i¶}©Î´£¨ú¡C
/y
¦b®i¶}©Î´£¨ú¤å¥ó®É¤£¥X²{Âл\´£¥Ü¡C
½d¨Ò¤U¨Ò±N±q¦w¸Ë CD ¤WªºÅX°Êµ{§Ç CAB ¤å¥ó¤¤´£¨ú Msgame.sys ¤å¥ó¨Ã±N¨ä½Æ»s¨ì
C:\ Windows\ System\ Drivers¡G
expand d:\ i386\ driver.cab \ f:msgame.sys c:\ windows\ system\ drivers
¤U¨Ò±N®i¶}À£ÁY¤å¥ó Access.cp_¡G
expand d:\ i386\ acces.cp_c:\ windows\ system32\ access.cpl
¤U¨Ò±N¦C¥X¦w¸Ë CD ¤WªºÅX°Êµ{§Ç CAB ¤å¥ó¤¤ªº©Ò¦³¤å¥ó¡C
expand /d d:\ i386\ driver.cab
­nÂI
¡P ÅX°Êµ{§Ç CAB ¤å¥ó¥]§t¦¨¤d¤W¸Uªº¤å¥ó¡A¨ä¤¤¥]¬A¥Ñ Windows ´£¨Ñªº¤j³¡¤ÀÅX°Êµ{
§Ç¡C±N©Ò¦³¤å¥ó±q CAB ¤å¥ó®i¶}¨ìµwºÐ¤W»Ý­nªá¸ûªøªº®É¶¡©M¤j¶qªººÏºÐªÅ¶¡¡C«Øij
¶È±q¸Ó¤å¥ó¤¤´£¨ú»Ý­nªº¤å¥ó¡C
ª`·N
¡P ¦pªG¨S¦³«ü©w¥Ø¼Ð¡A¤å¥ó±N³Q½Æ»s¨ì·í«e¥Ø¿ý¡C
¡P ¤£¯à±N³nºÐÅX°Ê¾¹©Î CD-ROM µ¥¥i²¾°Ê´CÅé«ü©w¬°¥Ø¼Ð¡C
Fixboot
¦V¨t²Î¤À°Ï¼g¤J·sªº¤À°Ï°_©l¤Æ®°°Ï¡C¥u¦³¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¡A¤~¯à¨Ï¥Î fixboot ©R¥O¡C
fixboot [ drive]
°Ñ¼Æ ÅX°Ê¾¹
±N­n¼g¤J°_©l¤Æ®°°ÏªºÅX°Ê¾¹¡C¥¦±N´À¥N¹w³]ªºÅX°Ê¾¹¡]§Y¥Î¤áµn¿ýªº¨t²Î¤À°Ï¡^¡C¨Ò¦p¡AÅX
°Ê¾¹¡GD:
½d¨Ò
¤U¦C©R¥O½d¨Ò¦VÅX°Ê¾¹ D:ªº¨t²Î¤À°Ï¼g¤J·sªº¤À°Ï°_©l¤Æ®°°Ï¡G
fixboot d:
ª`·N: ¦pªG¤£±a¥ô¦ó°Ñ¼Æ¡Afixboot ©R¥O±N¦V¥Î¤áµn¿ýªº¨t²Î¤À°Ï¼g¤J·sªº¤À°Ï°_©l¤Æ®°°Ï¡CFixmbr
­×´_±Ò°ÊºÏºÐªº ¥D±Ò°Ê°O¿ý¡Cfixmbr ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C
fixmbr [ device_name]
°Ñ¼Æ
device_name
­n¼g¤J·sªº¥D°_©l¤Æ°O¿ýªº³]³Æ¡]ÅX°Ê¾¹¡^¡C³]³Æ¦WºÙ¥i±q map ©R¥Oªº¿é¥XÀò±o¡C¨Ò¦p¡A³]³Æ
¦WºÙ¡G
\ Device\ HardDisk0
½d¨Ò
¤U¦C©R¥O¥Ü¨Ò¦V«ü©w³]³Æ¼g¤J¤@­Ó·sªº¥D°_©l¤Æ°O¿ý¡G
fixmbr \ Device\ HardDisk0
ª`·N
¡P ¦pªG¤£«ü©w device_name¡A·sªº¥D°_©l¤Æ°O¿ý±N³Q¼g¤J°_©l¤Æ³]³Æ¡A§Y¸Ë¸ü¥D¨t²ÎªºÅX°Ê
¾¹¡C
¡P ¦pªG¨t²ÎÀË´ú¨ìµL®Ä©Î«D¼Ð·Ç¤À°Ïªí¼Ð°O¡A±N´£¥Ü¥Î¤á¬O§_Ä~Äò°õ¦æ¸Ó©R¥O¡C°£«D±z
³X°ÝÅX°Ê¾¹¦³°ÝÃD¡A§_«h¤£­nÄ~Äò¶i¦æ¡C¦V¨t²Î¤À°Ï¼g¤J·sªº¥D°_©l¤Æ°O¿ý¥i¯à¯}Ãa¤À
°Ïªí¨Ã¾É­P¤À°ÏµLªk³X°Ý¡C
Format
±N«ü©wªºÅX°Ê¾¹®æ¦¡¤Æ¬°«ü©wªº¤å¥ó¨t²Î¡C§t¦³¤U¦C°Ñ¼Æªº format ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_
±±¨î¥x®É¤~¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¦³¤£¦P°Ñ¼Æªº format ©R¥O¡C
format [ drive:] [ /fs:file-system]
°Ñ¼Æ
drive:
«ü©w­n®æ¦¡¤ÆªºÅX°Ê¾¹¡C¤£¯à±q¬G»Ù«ì´_±±¨î¥x®æ¦¡¤Æ³nºÐ¡C
/q¹ïÅX°Ê¾¹¶i¦æ§Ö³t®æ¦¡¤Æ¡C¤£±½ºËÅX°Ê¾¹¬Ý¬O§_¦³Ãa°Ï°ì¡A¦]¦¹¥uÀ³¹ï¥H«e®æ¦¡¤Æ¹LªºÅX°Ê
¾¹¨Ï¥Î¸Ó°Ñ¼Æ¡C
/fs:file-system
«ü©w­n¨Ï¥Îªº¤å¥ó¨t²Î¡GFAT ¡BFAT32 ©Î NTFS ¡C¦pªG¥¼«ü©w¤å¥ó¨t²Î¡A±N¨Ï¥Î²{¦³ªº¤å¥ó¨t
²Î®æ¦¡¡C
Help
´£¨Ñ¦³Ãö¬G»Ù«ì´_±±¨î¥x©R¥Oªº³s¹q¸£«H®§¡C
help [ commandname]
°Ñ¼Æ
µL ¦C¥X¬G»Ù«ì´_±±¨î¥x¤¤´£¨Ñªº©R¥O¡C
commandname
´£¨Ñ¦³Ãö©R¥O«H®§¡A¥]¬A©R¥O¨Ï¥Îªº°Ñ¼Æ¡C
ª`·N
¡P ¦³¨âºØ¤èªk¥i¥HÀò±o©R¥Oªº³s¹q¸£À°§U¡C¥i¥H«ü©w help ©R¥O«áªº©R¥O¦WºÙ¡A©ÎªÌ¥i¥H
¦b©R¥O´£¥Ü²Å¤¤Áä¤J¸Ó©R¥O¦WºÙ©M /?¡C¶}Ãö¡C¨Ò¦p¡AÁä¤J¤U¦C©R¥O¥i¥HÀò±o¦³Ãö
extract ©R¥Oªº«H®§¡G
help extract
extract /?
Listsvc
¦C¥X¹q¸£¤W¥i¥H¨Ï¥ÎªºªA°È©MÅX°Êµ{§Ç¡Clistsvc ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C
listsvc
°Ñ¼Æ µLLogon
µn¿ý¨ì Windows ¦w¸Ë¡Clogon ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C
logon
°Ñ¼Æ
µL
ª`·N
¡P logon ©R¥O±N¦C¥X©Ò¦³ÀË´ú¨ìªº Windows ¦w¸Ë¡A»Ý­n¦w¸Ëªº¥»¦aºÞ²z­û±K½X¤~¯àµn
¿ý¡C
¡P ¦pªG 3 ¦¸µn¿ý¹Á¸Õ³£¥¢±Ñ¡A¡u¬G»Ù«ì´_±±¨î¥x¡v·|°h¥X¨Ã¥B¹q¸£±N­«·s±Ò°Ê¡C
Map
Åã¥ÜÅX°Ê¾¹¸¹»Pª«²z³]³Æ¦WºÙªº¬M®g¡C¸Ó«H®§¦b°õ¦æ fixboot ©M fixmbr ©R¥O®É«D±`¦³¥Î¡C
map ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¤~¥i¥Î¡C
Map [ arc]
°Ñ¼Æ
arc
«ü¥Ü map ©R¥OÅã¥Ü¶i¶¥ RISC ­pºâ (ARC)³]³Æ¦WºÙ¦Ó¤£¬O³]³Æ¦WºÙ¡C¥H¤U¬O ARC ³]³Æ¦WºÙ
ªº½d¨Ò¡G
multi(0)disk(0)rdisk(0)partition(1)
µ¥»ùªº³]³Æ¦WºÙ¬O¡G
\ Device\ HardDisk0\ Partition1
½d¨Ò
¤U¨Ò±Nª«²z³]³Æ¦W¬M®g¬°¨Ï¥Î ARC ³]³Æ¦WºÙªºÅX°Ê¾¹¸¹¡G
map arcª`·N
¡P ¦pªG¤£¨Ï¥Î arc °Ñ¼Æ¡A«h map ©R¥OÅã¥Ü³]³Æ¦WºÙ¡C
¡P map ©R¥OÁÙÅã¥Ü¤å¥ó¨t²ÎªºÃþ«¬©M¨C­ÓºÏºÐªº¤j¤p (MB)¡C
Mkdir (md)
«Ø¥ß¥Ø¿ý©Î¤l¥Ø¿ý¡C§t¦³¤U¦C°Ñ¼Æªº mkdir ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¥i¥Î¡C¥i¦b©R¥O
´£¥Ü²Å¤U¨Ï¥Î±a¤£¦P°Ñ¼Æªº mkdir ©R¥O¡C
mkdir [ drive:] path
©ÎªÌ
md [ drive:] path
°Ñ¼Æ
drive:
«ü©w­n«Ø¥ß·s¥Ø¿ýªºÅX°Ê¾¹¡C
path
«ü©w·s¥Ø¿ýªº¦WºÙ©M¦ì¸m¡C¤£¯à¨Ï¥Î³q°t²Å¡C
ª`·N
¡P Mkdir ¶È¾A¥Î©ó·í«e Windows ¦w¸Ëªº¨t²Î¥Ø¿ý¡B¥i²¾°Ê´CÅé¡BµwºÐ¤À°Ïªº®Ú¥Ø¿ý©Î¥»
¦a¦w¸Ë·½¡C
More
Åã¥Ü¤å¥»¤å¥óªº¤º®e¡C¨Ï¥Î more ©Î type ©R¥OÀ˵ø¤å¥»¤å¥ó¦Ó¤£­×§ï¤å¥ó¡C§t¦³¤U¦C°Ñ¼Æ
ªº more ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¤£¦P°Ñ¼Æªº more
©R¥O¡C
more [ drive:] [ path] filename©ÎªÌ
type [ drive:] [ path] filename
°Ñ¼Æ
[ drive:] path] filename
«ü©w­nÀ˵øªº¤å¥óªº¦ì¸m©M¦WºÙ¡C
¦pªG¨Ï¥Î NTFS ÅX°Ê¾¹¡A¦Ó¥BÀɮצW¥]§tªÅ®æ¡A«h¥²¶·¥Î¤Þ¸¹ (")±NÀɮצW¤Þ°_¨Ó¡C
Net use
±Nºô¸ô¦@¨É³s±µ¨ìÅX°Ê¾¹¸¹¡C§t¦³¤U¦C°Ñ¼Æªº net use ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¥i
¥Î¡C¦b©R¥O´£¥Ü²Å¤U¥i¥H¨Ï¥Î±a¤£¦P°Ñ¼Æªº net use ©R¥O¡C
»yªk
net use [ \ \ ComputerName\ ShareName [ /user:[ DomainName\ ] UserName] password] |[ drive
letter:] [ /d]
°Ñ¼Æ
\ \ servername\ sharename
«ü©wªA°È¾¹©M¦@¨É¸ê·½ªº¦WºÙ¡C¦pªG computername ¥]§tªÅ¥Õ¦r²Å¡A«h±N¹q¸£¦W±qÂù¤Ï±×
ºb (\ \ )¨ì¹q¸£¦Wµ²§À¥Î¤Þ¸¹ (")¬A°_¨Ó¡C¹q¸£¦Wªø«×¥i¥H¬O 1 ¨ì 15 ­Ó¦r²Å¡C
/user
«ü©w«Ø¥ß³s±µªº¥Î¤á¦W¡C
°ì¦W
½T»{¥Î¤áªº¾Ì¾Ú®É©Ò­n¨Ï¥Îªº°ì¦W¡C
¥Î¤á¦W
«ü©wµn¿ý®É¨Ï¥Îªº¥Î¤á¦W¡C
±K½X«ü©w³X°Ý¦@¨É¸ê·½©Ò»Ýªº±K½X¡C¤£¿é¤J±K½X¡A±Nµ¹¥X­nÁä¤J±K½Xªº´£¥Ü¡C¦b±K½X´£¥Ü¦æ³BÁä
¤J±K½X®É¤£Åã¥Ü±K½X¡C
/d
ªí¥Ü±N¤£Â_¶}¸Ó³s±µ¡C
Rename (Ren)
§ó§ï³æ­Ó¤å¥óªº¦WºÙ¡C§t¦³¤U¦C°Ñ¼Æªº rename ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¥i¥Î¡C¥i¦b
©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¤£¦P°Ñ¼Æªº rename ©R¥O¡C
rename [ drive:] [ path] filename1 filename2
©ÎªÌ
ren [ drive:] [ path] filename1 filename2
°Ñ¼Æ
[ drive:] [ path] filename1
«ü©w­n­«·s©R¦Wªº¤å¥óªº¦ì¸m©M¦WºÙ¡C¤£¯à¨Ï¥Î³q°t²Å¡C
filename2
¬°¤å¥ó«ü©w·sªº¦WºÙ¡C­«·s©R¦W¤å¥ó®É¤£¯à«ü©w·sªºÅX°Ê¾¹©Î¸ô®|¡C
Rmdir (Rd)
§R°£¥Ø¿ý¡C§t¦³¤U¦C°Ñ¼Æªº rmdir ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U
¨Ï¥Î±a¤£¦P°Ñ¼Æªº mdir ©R¥O¡C
rmdir [ drive:] path
©ÎªÌ
rd [ drive:] path
°Ñ¼Æ
[ drive:] path«ü©w­n§R°£ªº¥Ø¿ýªº¦ì¸m©M¦WºÙ¡C¤£¯à¨Ï¥Î³q°t²Å¡C
ª`·N
¡P ¥Ø¿ý¥²¶·¬°ªÅ§_«h©R¥O¥¢±Ñ¡C
¡P Rmdir ¶È¾A¥Î©ó·í«e Windows ¦w¸Ëªº¨t²Î¥Ø¿ý¡B¥i²¾°Ê´CÅé¡BµwºÐ¤À°Ïªº®Ú¥Ø¿ý©Î¥»
¦a¦w¸Ë·½¡C
Set
Åã¥Ü©M³]¸m¡u¬G»Ù«ì´_±±¨î¥x¡vªºÀô¹ÒÅܼơCset ©R¥O¬O¥²¶·»P¦w¥þ¼ÒªO¤@¦P¨Ï¥Îªº¥i¿ï©R
¥O¡C
§t¦³¤£¦P°Ñ¼Æªº set ©R¥O¶È¦b¨Ï¥Î¬G»Ù¬G»Ù«ì´_±±¨î¥x®É¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¤£
¦P°Ñ¼Æªº set ©R¥O¡C
set [ variable=[ string] ]
°Ñ¼Æ
variable
«ü©w»Ý­n³]¸m©Î­×§ïªºÅܼơC
¡u¬G»Ù«ì´_±±¨î¥x¡v¤ä«ù¥H¤UÀô¹ÒÅܼơG
ÅÜ¼Æ »¡©ú
AllowWildCards ¤¹³\¬Y¨Ç©R¥O¡]¦p del ©R¥O¡^¤ä«ù³q°t²Å¡C
AllowAllPaths ¤¹³\³X°Ý¨t²Î¤Wªº©Ò¦³¤å¥ó©M¥Ø¿ý¡C
AllowRemovableMedia ¤¹³\¤å¥ó½Æ»s¨ì¥i²¾°Ê´CÅé¤W¡A¦p³nºÐ¡C
NoCopyPrompt Âл\²{¦³¤å¥ó®É¤£Åã¥Ü´£¥Ü¡C
string
«ü©w­n»P«ü©wÅܼÆÃöÁpªº¦r¤¸¦ê¡C
½d¨Ò
¤U¨Ò¤¹³\¦b¬Y¨Ç¬G»Ù«ì´_±±¨î¥x©R¥O¤¤¨Ï¥Î³q°t²Å¡G
set allowwildcards=true¤U¨Ò±NÃö³¬Âл\¤å¥ó®Éªº´£¥Ü¥\¯à¡G
set nocopyprompt=true
ª`·N
¡P ¦pªG¨S¦³¥ô¦ó°Ñ¼Æ¡Aset ©R¥O±NÅã¥Ü·í«eÀô¹Ò³]¸m¡C
¡P ¹w³]±¡ªp¤U¸T¥Î set ©R¥O¡C­n±Ò¥Î set ©R¥O¡A½Ð¨Ï¥Î¦w¥þ¼ÒªO¡C¡u±Ò¥Î¬G»Ù«ì´_±±
¨î¥xªº Set ©R¥O¡vÄݩʦì©ó±±¨î¥x¾ð¤¤¥»¦a¹q¸£µ¦²¤/¹q¸£°t¸m/Windows ³]¸m/
¦w¥þ³]¸m/¥»¦aµ¦²¤/¦w¥þ¿ï¶µ¤§¤U¡C
¡P ¹w³]±¡ªp¤U©Ò¦³Àô¹ÒÅܼƧ¡³]¬° FALSE ¡C
Systemroot
±N·í«e¥Ø¿ý³]¸m¬°¥Î¤áµn¿ý¨ìªº Windows ¦w¸Ë¨t²Îªº systemroot ¸ê®Æ§¨¡Csystemroot ©R
¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¥i¥Î¡C
systemroot
°Ñ¼Æ µL
Type
Åã¥Ü¤å¥»¤å¥óªº¤º®e¡C¨Ï¥Î type ©Î more ©R¥OÀ˵ø¤å¥»¤å¥ó¦Ó¤£­×§ï¤å¥ó¡C§t¦³¤U­z°Ñ¼Æ
ªº type ©R¥O¶È¦b¨Ï¥Î¬G»Ù«ì´_±±¨î¥x®É¥i¥Î¡C¥i¦b©R¥O´£¥Ü²Å¤U¨Ï¥Î±a¤£¦P°Ñ¼Æªº type
©R¥O¡C
type [ drive:] [ path] filename
©ÎªÌ
more [ drive:] [ path] filename
°Ñ¼Æ
[ drive:] path] filename
«ü©w­nÀ˵øªº¤å¥óªº¦ì¸m©M¦WºÙ¡C
¦pªG¨Ï¥Î NTFS ÅX°Ê¾¹¦Ó¥BÀɮצW¥]§tªÅ®æ¡A«h¥²¶·¥Î¤Þ¸¹ (")±NÀɮצW¤Þ°_¨Ó¡C