szwp 发表于 2024-2-21 11:09
echo off删了,第二段缺:就判断文件是否存在了
likeyouli 发表于 2024-2-21 11:17
@echo off
for %%t in (c,d,e,f,g,h,i,j,k,l,m) do (
if exist %%t (echo %%t)
zlq_hysy 发表于 2024-2-21 11:22
冒号不是命令分隔符
窄口牛 发表于 2024-2-21 11:13
少了个冒号呀,路径判断,没冒号哪行。
likeyouli 发表于 2024-2-21 11:17
@echo off
for %%t in (c,d,e,f,g,h,i,j,k,l,m) do (
if exist %%t (echo %%t)
欢迎光临 无忧启动论坛 (http://wuyou.net/) | Powered by Discuz! X3.3 |