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

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

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

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

EXIT¡G µ²§ô CMD.EXE µ{¦¡ («ü¥Oª½Ä¶¾¹) ©Î¥Ø«eªº§å¦¸ÀÉ¡C

«ü¥O¸Ô¸Ñ¡G

EXIT [exitCode]

¡@¡@¡@/B «ü©w³o­Ó°Ñ¼Æ¨Óµ²§ô¥Ø«e§å¦¸ÀɦӤ£¬O CMD.EXE¡C
¡@¡@¡@¡@ ¦pªG¬O¥Ñ§å¦¸Àɤ§¥~°õ¦æ¡ACMD.EXE±N·|µ²§ô¡C

exitCode «ü©w¤@­Ó¼Æ¦r¡C
         ¦pªG«ü©w /B¡A«h³]©w ERRORLEVEL¬°³o­Ó¼Æ¦r¡C¦pªGµ²§ô CMD.EXE¡A³]©wµ{§Çµ²§ô½X¬°³o­Ó¼Æ¦r¡C
ªF­·

        ÀR«ä¦Û¦b : ¦³¤ß´N¦³ºÖ¡A¦³Ä@´N¦³¤O¡A¦Û³yºÖ¥Ð¡A¦Û±oºÖ½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD