分享至
請問windows7 64 批次檔中 IF有類似and的用法嗎?
EX: if a==b and s==d (echo 123)
已邀請的邦友 {{ invite_list.length }}/5
*1 @Echo Off Set a=1 Set b=2 If %a% == 1 If %b% == 2 Echo Hello World! Pause *2 @Echo Off Set a=1 Set b=2 If %a% == 1 ( If %b% == 2 ( Echo Hello World! Pause ) ) Pause
感謝!
IT邦幫忙