|
zerostudy
中级用户
  
积分 266
发帖 98
注册 2006-4-21
状态 离线
|
『楼 主』:
那里有VBS教程。谁有啊。帮我把这个批处理转成VBS。可以不
使用 LLM 解释/回答一下
本来是把存为killqq.bat
@echo off
start h:\wenqq\qq.exe
ping 127.0.0.1 -n 5
taskkill /f /t /im TIMPlatform.exe
这个存为.vbs 搜索到的。。启动批处理无黑屏。
DIM objShell
set objShell=wscript.createObject("wscript.shell")
iReturn=objShell.Run("cmd.exe /C killqq.bat", 0, TRUE)
启动时会调先cmd ping taskkill这几个命令。。
@echo off
start h:\wenqq\qq.exe
ping 127.0.0.1 -n 5 ////这个可以用别的代替吗。。VBS的什么命令可以吗
taskkill /f /t /im TIMPlatform.exe 把这个杀了。VBS用什么?
。。求一个用VBS杀掉timplatform.exe这个进程。。。。。。谢谢了。
timplatform.exe这个也可以在QQ里删除的。不过聊天室这些就不能进了`~
Originally, it was to save as killqq.bat
@echo off
start h:\wenqq\qq.exe
ping 127.0.0.1 -n 5
taskkill /f /t /im TIMPlatform.exe
This is saved as .vbs found. The startup batch has no black screen.
DIM objShell
set objShell=wscript.createObject("wscript.shell")
iReturn=objShell.Run("cmd.exe /C killqq.bat", 0, TRUE)
When starting, it will first call cmd ping taskkill these commands.
@echo off
start h:\wenqq\qq.exe
ping 127.0.0.1 -n 5 ////Can this be replaced by something else? What command in VBS can be used?
taskkill /f /t /im TIMPlatform.exe Kill this. What in VBS?
.. Ask for a way to kill the timplatform.exe process with VBS. .. Thank you.
timplatform.exe can also be deleted in QQ. But chat rooms and these can't enter `~
|
|
2006-10-30 02:40 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
请问楼主,为什么要杀掉TIMPlatform.exe进程呢?杀掉了QQ可能不会正常工作的...
在VBS里,延时的话,可以用 "Wscript.Sleep 1000" 延时一秒钟,至于杀掉进程,VBS的就不知道了,不知道是不是调用CMD命令.
May I ask the original poster, why do you want to kill the TIMPlatform.exe process? Killing it might cause QQ not to work properly...
In VBS, for delay, you can use "Wscript.Sleep 1000" to delay for one second. As for killing the process, I don't know about VBS. I don't know if it calls CMD commands.
|
|
2006-10-30 03:53 |
|
|
zerostudy
中级用户
  
积分 266
发帖 98
注册 2006-4-21
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
因为只是聊天的话。。那个进程没用的。。。白白占内存啊。所以杀掉他。。。
Because it's just chatting, that process is useless... It takes up memory in vain. So kill it...
|
|
2006-10-30 04:05 |
|
|
zerocq
中级用户
  
积分 458
发帖 196
注册 2006-10-5
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
结束进程可以使用VBS+WMI
不调用cmd
Ending processes can use VBS + WMI without calling cmd
|
|
2006-10-30 04:44 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-10-30 22:50 |
|
|
3742668
荣誉版主
      
积分 2013
发帖 718
注册 2006-2-18
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
createobject("wscript.shell").run "cmd.exe",1 '把最后的1改为0则后台运行
wscript.sleep 2000 '延时2秒,可自己修改
str = "TIMPlatform.exe" '要结束的进程名
for each x in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ucase(x.name) = ucase(str) then x.terminate
next
代码未测试..
createobject("wscript.shell").run "cmd.exe",1 'Change the last 1 to 0 to run in the background
wscript.sleep 2000 'Delay for 2 seconds, can be modified by yourself
str = "TIMPlatform.exe" 'Process name to end
for each x in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ucase(x.name) = ucase(str) then x.terminate
next
Code not tested..
|
|
2006-10-31 01:45 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-10-31 02:22 |
|
|
zerostudy
中级用户
  
积分 266
发帖 98
注册 2006-4-21
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
TIMPlatform.exe
平时只聊天的话.这个没用..有时可能会去聊天室聊聊天.就要用到这个了...
TIMPlatform.exe
When just chatting normally, this is not useful.. Sometimes you might go to the chat room to chat, and then you need this...
|
|
2006-11-3 05:28 |
|
|
senffon
初级用户
 
积分 118
发帖 66
注册 2005-10-21
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
版主没有考虑到杀掉TIMPlatorm.exe的意义所在!原因在网吧这种场合有时TIMPlatorm.exe会同其它软件产生冲突!而TIMPlatorm.exe又是常驻内存的!删除掉的话有用户要用又不行!所以杀掉是最好的!
所以
createobject("wscript.shell").run "cmd.exe",1 '把最后的1改为0则后台运行
wscript.sleep 2000 '延时2秒,可自己修改
str = "TIMPlatform.exe" '要结束的进程名
for each x in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ucase(x.name) = ucase(str) then x.terminate
next
这个还是挺好的!
The moderator didn't consider the significance of killing TIMPlatorm.exe! The reason is that in places like internet cafes, sometimes TIMPlatorm.exe may conflict with other software! And TIMPlatorm.exe is resident in memory! If you delete it, some users need it and it won't work! So killing it is the best!
So
createobject("wscript.shell").run "cmd.exe",1 'Change the last 1 to 0 to run in the background
wscript.sleep 2000 'Delay for 2 seconds, can be modified by yourself
str = "TIMPlatform.exe" 'The process name to end
for each x in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ucase(x.name) = ucase(str) then x.terminate
next
This is still pretty good!
|
|
2006-11-3 08:33 |
|
|
zerostudy
中级用户
  
积分 266
发帖 98
注册 2006-4-21
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Originally posted by 3742668 at 2006-10-31 01:45:
createobject("wscript.shell").run "cmd.exe",1 '把最后的1改为0则后台运行
wscript.sleep 2000 '延时2秒,可自己修改
str = "TIMPlatform.exe&quo ...
看不懂下面结束的命令~~
Originally posted by 3742668 at 2006-10-31 01:45:
createobject("wscript.shell").run "cmd.exe",1 ' Change the last 1 to 0 to run in the background
wscript.sleep 2000 ' Delay for 2 seconds, can be modified by yourself
str = "TIMPlatform.exe&quo ...
Don't understand the following ending command~~
|
|
2006-11-3 09:09 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
Originally posted by zerostudy at 2006-11-3 09:09:
看不懂下面结束的命令~~
不是什么命令,是用VBS编写的脚本,运行就可以了。
Originally posted by zerostudy at 2006-11-3 09:09:
Can't understand the following ending command~~
It's not a command, but a script written in VBS. Just run it.
|
|
2006-11-3 10:40 |
|
|
windzb
初级用户
 
积分 32
发帖 14
注册 2006-10-28
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
隐藏窗口的脚本
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c 批处理程序名,需要路径",vbhide
Script to hide the window
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c 批处理 program name, need path",vbhide
|
|
2006-11-4 01:55 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
TIMPlatorm.exe只是一个防止同样的QQ号在同一个机子上重复登录的文件,可要可不要,我的机子里就没有那个文件,却没有任何问题,只是可以1个QQ可以同时登陆而也
TIMPlatorm.exe is just a file that prevents the same QQ number from logging in repeatedly on the same computer. It is optional. There is no such file in my computer, but there is no problem. It's just that one QQ can log in simultaneously.
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-11-4 02:20 |
|