
【已解決】批處理判斷盤符是否存在為什么運行不出結果最后由 ElaineXiang 于 -9-16 15:58
nclick="copycode($('code0'));">復制代碼
- @echo off
- set str=c d e f g h j k l m n o p q r s t u v w x y z
- for %%i in (%str%) do (
- if exist %%i (
- echo %%i >> DN.txt
- )
- )
- pause

