|
cls
新手上路

积分 9
发帖 4
注册 2005-8-19
状态 离线
|
『楼 主』:
2000开机autoexec.bat
使用 LLM 解释/回答一下
我想在这个批处理里面把net share ipc$ /del掉,加到了开机项目里,但是每次开机dos窗口都闪一下,如何让这个批处理不显示只在后台运行啊。记得dos有着个参数的忘了。
除了用vbs的方法,还有其他的方法吗
Last edited by cls on 2005-8-19 at 13:01 ]
I want to add "net share ipc$ /del" into this batch script and put it into the startup items, but every time I boot up, the DOS window flashes. How can I make this batch script run in the background without showing? I remember there's a parameter in DOS, but I forgot. Besides using the VBS method, are there other methods?
Last edited by cls on 2005-8-19 at 13:01 ]
|
|
2005-8-19 12:56 |
|
|
cn_archer
元老会员
         农民
积分 2903
发帖 991
注册 2003-7-23 来自 福建省
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
ECHO OFF
应该是这个吧。
不过这个命令似乎屏蔽不了这个DOS窗口。
用NET SHARE IPC$/DELETE >NULL
把相关信息导到空设备去,效果可能更好。
不过,我也不知道这样子DOS窗口还会不会再闪出来,毕竟这个命令只是屏蔽信息,好像不会屏蔽DOS窗口……
ECHO OFF
Should be this one.
But this command doesn't seem to block the DOS window.
Using NET SHARE IPC$/DELETE >NULL
Redirect relevant information to the null device, the effect may be better.
But I don't know if the DOS window will still flash out like this. After all, this command only blocks the information, and it doesn't seem to block the DOS window...
|

艰难奋长戟,万古用一夫
中国DOS联盟 http://www.cn-dos.net 欢迎大家来共同学习
我的MSN&E-Mail cn_archer@hotmail.com QQ 56049418
|
|
2005-8-19 14:11 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
除了用vbs的方法外,还可以创建该批处理的快捷方式,放在启动栏里,然后右键单击该快捷方式,选“属性”,将“运行方式”改为“最小化”,确定。以后启动该快捷方式时就再也不会在桌面上弹出DOS窗口了,而是隐藏在任务栏里,运行一结束便从任务栏消失。
另外,不必每次开机都用批处理来禁用IPC$,只要在注册表里作小小修改即可彻底禁用IPC连接。运行REGEDIT,找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa中的restrictanonymous子键,将其值改为1。
In addition to using the VBS method, you can also create a shortcut of this batch file, place it in the startup folder, then right-click the shortcut, select "Properties", change the "Run style" to "Minimized", and click OK. In the future, when you start this shortcut, the DOS window will no longer pop up on the desktop but will be hidden in the taskbar, and it will disappear from the taskbar when the operation is finished.
Also, you don't need to use the batch file to disable IPC$ every time you start the computer. You can make a small modification in the registry to completely disable the IPC connection. Run REGEDIT, find the restrictanonymous subkey in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa, and change its value to 1.
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-8-19 14:39 |
|
|
chenhui530
高级用户
   
积分 772
发帖 273
注册 2004-10-23
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
还可以使用启动脚本可以隐藏DOS窗口
You can also use a startup script to hide the DOS window
|

http://www.msfans.net/bbs/ |
|
2005-8-19 15:33 |
|
|
cls
新手上路

积分 9
发帖 4
注册 2005-8-19
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by JonePeng at 2005-8-19 14:39:
除了用vbs的方法外,还可以创建该批处理的快捷方式,放在启动栏里,然后右键单击该快捷方式,选“属性”,将“运行方式”改为“最小化”,确定 ...
现在就是1啊,好像并不能删除掉ipc$,我是用的win优化大师里禁止共享那个,但是只能把c$ d$这样的盘符共享去掉,不能去掉ipc$。
Originally posted by JonePeng at 2005-8-19 14:39:
In addition to the method using vbs, you can also create a shortcut of this batch file, place it in the startup folder, then right-click on the shortcut, select "Properties", change the "Run style" to "Minimized", and confirm...
Now it's just 1. It seems that the IPC$ cannot be deleted. I used the "Disable Sharing" in WinOptimizer, but it can only remove the sharing of C$ D$ and other drive letters, not the IPC$.
|
|
2005-8-19 16:18 |
|
|
hetao
初级用户
 
积分 175
发帖 64
注册 2005-9-15
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
我的autoexec.bat开机为什么不自动运行,是在dos下的。我是用我是用copy 的方法装的dos。请问师傅为什么啊?
Why doesn't my autoexec.bat run automatically at boot in DOS? I installed DOS using the copy method. Master, why is that?
|
|
2005-9-22 00:23 |
|
|
yhcamel
初级用户
 
积分 26
发帖 8
注册 2005-9-16
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
Originally posted by JonePeng at 2005-8-19 14:39:
除了用vbs的方法外,还可以创建该批处理的快捷方式,放在启动栏里,然后右键单击该快捷方式,选“属性”,将“运行方式”改为“最小化”,确定 ...
这个行的 看不到运行界面的
Originally posted by JonePeng at 2005-8-19 14:39:
In addition to using the VBS method, you can also create a shortcut of this batch file, place it in the startup folder, then right-click on the shortcut, select "Properties", change the "Run style" to "Minimized", and confirm...
This works. You can't see the running interface.
|
|
2005-9-22 09:50 |
|