|
chineselgs
高级用户
    论坛灌水专业户
积分 613
发帖 266
注册 2006-4-19 来自 河南省
状态 离线
|
『楼 主』:
[已结]如何用批处理删除启动项
使用 LLM 解释/回答一下
用大侠们帮我写个批处理,删除一个启动项!!
已知路径为:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
删其中的: "auto"="c:\\windows\\dellogo.bat"
系统是XP2!!!
谢了
Last edited by willsort on 2006-6-14 at 17:22 ]
Please provide the batch code to delete the startup item in the specified path. Here is a possible batch code:
```batch
@echo off
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "auto" /f
```
Please note that modifying system registry items requires appropriate permissions. Make sure you run this batch file with administrative privileges.
|

饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
|
|
2006-6-9 19:43 |
|
|
namejm
荣誉版主
       batch fan
积分 5226
发帖 1737
注册 2006-3-10 来自 成都
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
在CMD窗口中输入reg /? 或者reg delete /?来查看帮助说明就知道该怎么做了。
在你这个问题中,用以下代码可以解决:
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v auto
In the CMD window, you can enter reg /? or reg delete /? to view the help instructions to know what to do.
In your this problem, the following code can solve it:
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v auto
|
|
2006-6-9 19:58 |
|
|
chineselgs
高级用户
    论坛灌水专业户
积分 613
发帖 266
注册 2006-4-19 来自 河南省
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
非常感谢楼上的
Thank you very much to the person above
|

饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
|
|
2006-6-10 12:41 |
|
|
chineselgs
高级用户
    论坛灌水专业户
积分 613
发帖 266
注册 2006-4-19 来自 河南省
状态 离线
|
 『第 4 楼』:
[已结]怎样用批处理删注册表值时无须输入Y?
使用 LLM 解释/回答一下
呵呵,再问一个小问题.
我用批处理删几项注册表值.但运行时它总是会问你是不是要删,要手动输Y才可以.我不想这么麻烦,怎么样省掉这个Y.
呵呵,在线等答复
Last edited by willsort on 2006-6-14 at 16:55 ]
Hehe, ask another small question.
I use batch to delete several registry values. But when running, it always asks if you want to delete, and you have to manually enter Y to do it. I don't want to be so troublesome, how to skip this Y.
he, waiting for the answer online
Last edited by willsort on 2006-6-14 at 16:55 ]
|

饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
|
|
2006-6-12 18:34 |
|
|
namejm
荣誉版主
       batch fan
积分 5226
发帖 1737
注册 2006-3-10 来自 成都
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
呵呵,你没用reg /?命令来查看帮助吧?你要的答案就在里面。
加一个参数/f就行啦。
Hehe, you didn't use the reg /? command to view the help, right? The answer you need is in there. Just add a parameter /f.
|
|
2006-6-12 18:54 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-13 08:47 |
|
|
chineselgs
高级用户
    论坛灌水专业户
积分 613
发帖 266
注册 2006-4-19 来自 河南省
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
呵呵,一时情急,切莫怪罪,下次记着就是了!!
Hehe, in a moment of urgency, please don't take offense. Just remember it next time!!
|

饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
|
|
2006-6-14 11:55 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
呵呵、有时善用 /? 还是有必要的,特别是cmd说明都是中文
Hehe, sometimes it is necessary to make good use of /?, especially since the cmd instructions are all in Chinese
|
|
2006-6-14 12:05 |
|
|
chineselgs
高级用户
    论坛灌水专业户
积分 613
发帖 266
注册 2006-4-19 来自 河南省
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
55555555555555555
不就随意写个标题吗?
用得着两位大斑猪来欺负俺吗????
我要投诉
站长在哪里,再不出来我去你家偷鸡蛋!!!!!!!
5555555555555555
Just writing a random title?
Do you need two big moderators to bully me????
I want to file a complaint
Where is the webmaster, if you don't come out, I'll go to your house to steal eggs!!!!!!!
|

饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
|
|
2006-6-14 16:52 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Re chineselgs:
原修改标题提示已在你对修改主题标题后删除,并给标题加上[已结]标记。
提醒这位兄弟,中国DOS联盟论坛是技术交流论坛,大家来到这里多是为了学习知识、交流经验,包括版主的大多数人都希望这里能够保持技术的纯粹性,少量的水帖可以活跃气氛、放松心情,但过多的水帖就会影响大家获取经验的速度和质量。
而你的模糊标题的主题和大量的非技术回复,显然会给大家获取知识和经验带来一定的阻碍,所以在这里郑重提示,本论坛有独立的“貼圖灌水、文學娛樂專區”,在那里你可以随意发表各种各样的水帖,而不会有人去刻意阻止。
Re chineselgs:
The original modification title prompt has been deleted after you modified the topic title, and the tag has been added to the title.
Remind this brother that the China DOS Union forum is a technical exchange forum. Everyone comes here mostly to learn knowledge and exchange experiences. Most people including the moderators hope that it can maintain the purity of technology. A small number of water posts can liven up the atmosphere and relax the mood, but too many water posts will affect everyone's speed and quality of obtaining experiences.
And your topic with a vague title and a large number of non-technical replies obviously will bring certain obstacles to everyone's acquisition of knowledge and experiences. So here is a serious reminder that this forum has an independent "Picture and Water, Literature and Entertainment Section", where you can freely post various water posts without anyone deliberately stopping you.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2006-6-14 17:07 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
───────────────── 版务记录 ─────────────────
执行:Will Sort
操作:合并主题 {21199}怎样用批处理删注册表值时无须输入Y? -> 4~10楼
说明:操作主题与本主题存在上下文的直接联系
处罚:扣除8点积分,包括发表该主题而奖励的6分和主题重复惩罚性扣除的2分
───────────────── 版务记录 ─────────────────
───────────────── Moderation Record ─────────────────
Performed by: Will Sort
Operation: Merge topics {21199} How to use batch processing to delete registry values without entering Y? -> Posts 4-10
Explanation: The operated topic has direct contextual connection with this topic
Punishment: Deduct 8 points, including 6 points rewarded for posting the topic and 2 points deducted for topic duplication penalty
───────────────── Moderation Record ─────────────────
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2006-6-14 17:21 |
|
|
chineselgs
高级用户
    论坛灌水专业户
积分 613
发帖 266
注册 2006-4-19 来自 河南省
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
无语。。。。。
Speechless...
|

饮马恒河畔,剑指天山西,碎叶城揽月,库叶岛赏雪,黑海之滨垂钓,贝尔加湖面张弓;中南半岛访古,东京废墟祭祖!
|
|
2006-6-16 17:29 |
|
|
xiongwei2624
初级用户
 
积分 96
发帖 44
注册 2006-6-26 来自 深圳
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
cmd 看不到reg /?
郁闷ing !!
cmd can't see reg /?
Depressed ing!!
|
|
2006-6-30 14:25 |
|
|
namejm
荣誉版主
       batch fan
积分 5226
发帖 1737
注册 2006-3-10 来自 成都
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
在CMD窗口中输入reg /?看不到帮助内容?你什么操作系统哦?
In the CMD window, entering reg /? doesn't show the help content? What operating system are you using?
|
|
2006-6-30 15:29 |
|
|
ghost2008
新手上路

积分 12
发帖 6
注册 2006-7-13
状态 离线
|
『第 15 楼』:
reg 不是系统上的命令
使用 LLM 解释/回答一下
reg 不是系统上的命令
reg is not a command on the system
|
|
2007-9-10 12:23 |
|