China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-09 10:30
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Can everyone take a look and see what's wrong with the code? View 637 Replies 2
Original Poster Posted 2008-08-08 14:00 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
for %%a in (1 2 3 "M Y") do rd /s/q "C:\789\%%a"

I want to delete the 1, 2, 3, and M Y folders in C:\789. Can everyone take a look and see where the problem is?

[ Last edited by 5872169 on 2008-8-8 at 02:05 PM ]
Floor 2 Posted 2008-08-08 14:05 ·  中国 江苏 苏州 吴江区 电信
银牌会员
★★★
Credits 1,608
Posts 780
Joined 2007-10-07 10:19
18-year member
UID 99089
Gender Male
Status Offline
Floor 3 Posted 2008-08-08 14:07 ·  中国 山东 济南 联通
高级用户
★★★
Credits 959
Posts 474
Joined 2007-10-25 10:40
18-year member
UID 100716
Gender Male
Status Offline
Already solved, thanks to the friend in the previous post!!
Forum Jump: