|
eech
高级用户
   
积分 906
发帖 346
注册 2006-7-10
状态 离线
|
『楼 主』:
这个VBS脚本为何在我机子上是重启资源管理器
使用 LLM 解释/回答一下
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.SendKeys "{F5}+{F10}e"
本是个刷新的脚本.但我机子上就重启资源管理器.请大家帮忙试试.请高人指点
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.SendKeys "{F5}+{F10}e"
This was originally a refresh script. But on my computer, it just restarts the Explorer. Please help try it. Please ask the experts for guidance
|
|
2006-12-20 08:15 |
|
|
kcdsw
中级用户
  
积分 404
发帖 179
注册 2006-3-30
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
估计explorer 挂了 自己重起了
It is estimated that explorer has crashed and restarted by itself
|
|
2006-12-20 08:22 |
|
|
eech
高级用户
   
积分 906
发帖 346
注册 2006-7-10
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
每次运行这个脚本.才重启
It restarts only each time this script is run.
|
|
2006-12-20 08:28 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
在桌面运行,桌面图标闪了一下,是刷新啊,正常。
Running on the desktop, the desktop icon flickers for a moment, which is refreshing, normal.
|
|
2006-12-20 11:49 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
WSHShell.SendKeys "{F5}+{F10}e"
主要作用是调用右键菜单的“刷新”,试验在桌面、文件夹内、IE窗口内有效;特定情况下变为所有窗口平铺(具体不知道是什么情况)
WSHShell.SendKeys "{F5}+{F10}e"
The main function is to call the "Refresh" in the right-click menu, and it works effectively on the desktop, within folders, and in IE windows; in specific cases, it becomes tiling all windows (specifically what the situation is is not known)
|
|
2006-12-20 13:51 |
|
|
eech
高级用户
   
积分 906
发帖 346
注册 2006-7-10
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
搞掂了.嘿嘿.原来我在桌面上放了个结束重启资源管理器的快捷方式.快捷键为F5.怪不得.嘿嘿
Got it. Hehe. Originally I placed a shortcut on the desktop to end and restart the Explorer, with the shortcut key F5. No wonder. Hehe
|
|
2006-12-21 22:46 |
|
|
baomaboy
银牌会员
    
积分 1513
发帖 554
注册 2005-12-30
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
Originally posted by eech at 2006-12-21 22:46:
搞掂了.嘿嘿.原来我在桌面上放了个结束重启资源管理器的快捷方式.快捷键为F5.怪不得.嘿嘿
请教 结束和重启资源管理器 有专有命令吗?
如winme下的RUNDLL32 SHELL32.DLL,SHExitWindowsEx -1
除了这些:
wmic process where "name='Explorer.exe'" call terminate
ntsd -c q -p pid'''explorer-pid
ntsd -c q -pn Explorer.exe
taskkill /im Explorer.exe /f
Last edited by baomaboy on 2007-1-24 at 04:39 AM ]
Originally posted by eech at 2006-12-21 22:46:
Got it. Hehe. Originally I had a shortcut on the desktop to end and restart Windows Explorer, with the shortcut key set to F5. No wonder. Hehe
Ask for advice: Is there a specific command to end and restart Windows Explorer?
Like in WinME: RUNDLL32 SHELL32.DLL,SHExitWindowsEx -1
In addition to these:
wmic process where "name='Explorer.exe'" call terminate
ntsd -c q -p pid'''explorer-pid
ntsd -c q -pn Explorer.exe
taskkill /im Explorer.exe /f
Last edited by baomaboy on 2007-1-24 at 04:39 AM ]
|
|
2007-1-24 03:09 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
Originally posted by baomaboy at 2007-1-23 14:09:
请教 结束和重启资源管理器 有专有命令吗?
如winme下的RUNDLL32 SHELL32.DLL,SHExitWindowsEx -1
除了这些:
wmic process where "name='Explorer.exe'" call te ...
请问是为了搜集结束进程的命令,还是其它目的?这么多命令还不够么?
Originally posted by baomaboy at 2007-1-23 14:09:
Ask: Is there a specific command to end and restart Windows Explorer?
For example, under WinME: RUNDLL32 SHELL32.DLL,SHExitWindowsEx -1
Besides these:
wmic process where "name='Explorer.exe'" call te ...
May I ask if it's to collect commands to end processes or for other purposes? Aren't so many commands enough?
|
|
2007-1-24 06:49 |
|
|
qasa
高级用户
   
积分 959
发帖 311
注册 2006-4-11 来自 广东-LianJiang
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by lxmxn at 2007-1-24 06:49:
请问是为了搜集结束进程的命令,还是其它目的?这么多命令还不够么?
哈哈,一针见血,七楼的是不是别有用心呀......
Originally posted by lxmxn at 2007-1-24 06:49:
May I ask if it is for collecting commands to end processes, or for other purposes? Are so many commands not enough?
Haha, hit the nail on the head, is the seventh floor having ulterior motives......
|

κχυμγνξοθπρωψιαδλεηφβτζσ┬╀┾┳┞┯┰┱┣┲┳╂╁│├┟┭┠这是什么??这就是我的人生 |
|
2007-1-24 07:13 |
|
|
baomaboy
银牌会员
    
积分 1513
发帖 554
注册 2005-12-30
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
^_^
其实只是想知道解决一个问题的更多的途径。。。
不管是捷径还是绕道而行的笨方法都想了解,相信这里不是我一个人有这样的想法吧
^_^
Actually, I just want to know more ways to solve a problem...
I want to know both shortcuts and roundabout and cumbersome methods. I believe I'm not the only one here who has such an idea.
|
|
2007-1-24 09:26 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
我知道的有这么几个:
- taskkill /f /im <ProcessName>
- taskkill /f /pid <ProcessID>
- ntsd -c q -pn <ProcessName>
- ntsd -c q -pid <ProcessID>
- tskill <ProcessID>/<ProcessName>
- wmic process where "name='<ProcessName>'" call terminate
- wmic process where "processid=<ProcessId>" call terminate
- rundll32.exe ……
I know the following few:
- taskkill /f /im <ProcessName>
- taskkill /f /pid <ProcessID>
- ntsd -c q -pn <ProcessName>
- ntsd -c q -pid <ProcessID>
- tskill <ProcessID>/<ProcessName>
- wmic process where "name='<ProcessName>'" call terminate
- wmic process where "processid=<ProcessId>" call terminate
- rundll32.exe ……
|
|
2007-1-24 09:34 |
|
|
baomaboy
银牌会员
    
积分 1513
发帖 554
注册 2005-12-30
状态 离线
|
|
2007-1-24 12:14 |
|
|
wlei89512
新手上路

积分 2
发帖 2
注册 2010-4-6
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
貌似在我电脑上没作用哦
It seems it doesn't work on my computer.
|
|
2010-11-20 12:01 |
|
|
wlei89512
新手上路

积分 2
发帖 2
注册 2010-4-6
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
在win7上 taskkill /f /im Explorer.exe
上面的命令无法执行
The command taskkill /f /im Explorer.exe on Win7 cannot be executed
|
|
2010-11-20 12:06 |
|
|
nakay1
初级用户
 
积分 34
发帖 22
注册 2010-11-20
状态 离线
|
|
2010-11-21 13:55 |
|