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-09-23 19:07
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Help! How to find the required folder and delete it (solved) View 3,267 Replies 17
Floor 16 Posted 2006-07-13 19:21 ·  中国 广东 佛山 电信
初级用户
★★
Credits 178
Posts 82
Joined 2006-05-12 23:53
20-year member
UID 55419
Status Offline
Thanks doudou, the problem is solved
for /f %%i in ('dir %systemroot% /adh /b ^|find "$NtUninstall"') do rd /s /q %systemroot%\%%i
Floor 17 Posted 2006-07-15 01:01 ·  中国 江苏 苏州 电信
初级用户
★★
Credits 160
Posts 75
Joined 2006-06-28 01:07
20-year member
UID 57661
Gender Male
Status Offline
Make a mark here. I don't seem to understand it now. I'll study it later. Hehe
Floor 18 Posted 2006-07-22 08:56 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 245
Posts 103
Joined 2006-06-30 00:00
20-year member
UID 57801
Gender Male
Status Offline
Through testing, only the statement of helplessness is correct. Of course, I mean when the batch processing is not fixed in which partition and folder, in the syntax of Bagpipe, there are more parameters R and no quotes. The ideas of the two experts are consistent... Great...
Forum Jump: