ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[¤À¨É] BAT§å¦¸«ü¥O¡GCHDIR ªº¥\¯à¤¶²Ð

[¤À¨É] BAT§å¦¸«ü¥O¡GCHDIR ªº¥\¯à¤¶²Ð

BAT§å¦¸«ü¥O¡GCHDIR ªº¥\¯à¤¶²Ð

CHDIR ¡G Åã¥Ü¥Ø«e¤u§@¥Ø¿ýªº¦WºÙ©Î¬OÅܧó¥Ø¿ý¡C

«ü¥O¸Ô¸Ñ¡G

CHDIR [/D] [drive:][path]
CHDIR [..]
CD [/D] [drive:][path]
CD [..]

  ..   «ü©wÅܧó¨ì¤W¼h¥Ø¿ý¡C

Áä¤J CD drive: §Y¥iÅã¥Ü«ü©wºÏºÐ¾÷ªº¥Ø«e¤u§@¥Ø¿ý¡C
¶ÈÁä¤J CD ¦Ó¤£¥[°Ñ¼Æ¡A§Y¥iÅã¥Ü¥Ø«eªººÏºÐ¾÷©M¥Ø¿ý¡C

¨Ï¥Î /D °Ñ¼Æ¥i¥H¦P®ÉÅܧó¤u§@ºÏºÐ¾÷¤Î¨ä¤u§@¥Ø¿ý¡C

¦pªG±z±Ò¥ÎÂX¥R©R¥O¡ACHDIR ªºÅܧó¦p¤U:

¥Ø«eªº¥Ø¿ý¦r¦ê·|³QÂà´«¦¨»PºÏºÐ¤W¦WºÙ¬Û¦P¤j¤p¼gªº¦r¦ê¡C
©Ò¥H¦pªGºÏºÐ¤Wªº¥Ø¿ý¬O C:\Temp ªº¸Ü¡ACD C:\TEMP ©R¥O¹ê»Ú¤W·|Âà´«¬° CD C:\Temp¡C

CHDIR ©R¥O¤£·|±NªÅ®æ·í¦¨¤À¹j¦r¤¸¡A©Ò¥H¦pªG±z­n¤Á´«¨ì§t¦³ªÅ®æ¦r¤¸ªº¥Ø¿ý®É¡A
´Nºâ±z¤£¨Ï¥Î¤Þ¸¹¨Ó¬A¦í¥Ø¿ý¦WºÙ¡A¤]¤@¼Ë¥i¥H¥Î CD ©R¥O¤Á´«¨ì¸Ó¥Ø¿ý¡C
¨Ò¦p:

    cd \winnt\profiles\username\programs\start menu

´N¬Ûµ¥©ó:

    cd "\winnt\profiles\username\programs\start menu"

¦pªG±z°±¥ÎÂX¥R©R¥O¡A´N¥²¶·¿é¤J«e¤@ºØ©R¥O¡C
ªF­·

        ÀR«ä¦Û¦b : ¦Û¤v®`¦Û¤v¡A²ö¹L©ó¶ÃµoµÊ®ð¡C
ªð¦^¦Cªí ¤W¤@¥DÃD