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-03 14:11
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How can I use a batch file to automatically delete a registry subkey? View 952 Replies 3
Original Poster Posted 2006-05-29 11:04 ·  中国 广东 东莞 电信
初级用户
Credits 39
Posts 8
Joined 2006-04-25 10:41
20-year member
UID 54417
Gender Male
From 广东东莞
Status Offline
The question is in the title, thanks!
Floor 2 Posted 2006-05-29 12:51 ·  中国 湖北 荆门 电信
荣誉版主
★★★
Credits 2,013
Posts 718
Joined 2006-02-18 07:07
20-year member
UID 50550
Status Offline
Well, you just need to type reg delete /? or check Help and Support, and you can get enough help from that. (XP system)
Floor 3 Posted 2006-05-29 17:49 ·  中国 浙江 杭州 电信
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
If it's a 2000 system, you just need to copy reg.exe from XP or 2003 to the same location on 2000.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 4 Posted 2007-03-03 13:33 ·  中国 湖北 潜江 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
reg delete rootkey\subkey /f is enough. rootkey is the root key, subkey is the subkey, add a space and quotation marks.
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Forum Jump: