|
|
楼主 |
发表于 2020-10-10 14:31:51
|
显示全部楼层
回复 2# Batcher
去掉echo off执行以后提示是这样的,但是这个path我在其他批处理中刚用过没问题的呀
D:\ETC\TxfFPop\5-categorize>path "C:\Program Files\WinRAR\";C:\Program Files\Ima
geMagick-7.0.10-Q16-HDRI;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Anaconda3;D:\Anaconda3\scripts;C
:\Program Files (x86)\HP\Common\HPDestPlgIn\;C:\Program Files (x86)\HP\IdrsOCR_1
5.3.1129.0\;C:\Program Files\Tesseract-OCR;C:\Program Files (x86)\PDFtk\bin\;C:\
Program Files (x86)\HP\Common\HPDestPlgIn\
命令语法不正确。
D:\ETC\TxfFPop\5-categorize> if exist "%~na" |
|