中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-23 12:56
47,812 topics / 349,917 posts / today 0 new / 48,273 members
DOS批处理 & 脚本技术(批处理室) » [Help] Why can't the search statement in this batch file search the floppy drive?
Printable Version  1,771 / 0
Floor1 hzy Posted 2003-07-28 00:00
高级用户 Posts 135 Credits 578
Why can the search command statement in this batch file find subdirectories on the hard disk, but not subdirectories on the floppy drive?

for %%a in (a: c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:)

do if exist %%a\*.bat dir /b /s %%a\*.bat

[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023