|
kuangdafayin
初级用户
 
积分 43
发帖 8
注册 2005-8-5
状态 离线
|
『楼 主』:
求助:编辑批处理文件运行应用程序自动关闭QQ.exe 程序
使用 LLM 解释/回答一下
求助:编辑批处理文件只要启动或运行应用程序(如word 、excel 、autocad等)就会自动关闭QQ.exe 程序。目的主要是公司下属一边工作一边聊天,很不专心(当然闲暇时间也可以聊聊天),在工作中老是出错。请高手帮帮忙。
Help: Edit a batch file that automatically closes the QQ.exe program whenever an application (such as Word, Excel, AutoCAD, etc.) is started or run. The main purpose is that the subordinates in the company are not focused enough as they chat while working (of course, they can chat during leisure time), and they often make mistakes at work. Please help the experts.
|
|
2005-8-5 15:21 |
|
|
Climbing
铂金会员
       网络独行侠
积分 6962
发帖 2753
注册 2003-4-16 来自 河北保定
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
我觉得这是工作态度的问题,如果不能从制度上规定工作时不允许聊天,任何方式都是无法防止对方在工作时聊天的。例如,你关掉了QQ他可以再打开。
I think this is a matter of work attitude. If there is no regulation in the system that chatting is not allowed during work, no method can prevent the other party from chatting during work. For example, you close QQ, and he can open it again.
|

偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
|
|
2005-8-5 16:02 |
|
|
kuangdafayin
初级用户
 
积分 43
发帖 8
注册 2005-8-5
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
话是不错呀!可是一个女职员,说实在的也没多少工作可作,只是用机子作图或是作报表,就这么简单的工作却也出错。只是想让她在工作时不要聊天。
What you said is quite right! But for a female staff member, to be honest, there isn't much work to do. Just using the machine to draw pictures or make reports, such simple work still has mistakes. Just want her not to chat while working.
|
|
2005-8-5 17:33 |
|
|
Climbing
铂金会员
       网络独行侠
积分 6962
发帖 2753
注册 2003-4-16 来自 河北保定
状态 离线
|
|
2005-8-5 17:43 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Re Climbing:
兄的方法有些玩笑了。我倒觉得如果那位职员的电脑水平不高,倒可以用批处理将QQ的主程序名或者QQ文件夹改名,用的时候再改回来即可。这比自动监测QQ运行并随时关闭它技术难度要低很多了,可实施性也很大,相信楼主自己也能编的出来。
如果那位职员是个电脑高手,那么我们能想到的方法,她自然也可能会想到,所以也是不保险的。这样的话,似乎只有从公司入网的服务器上想办法了,用防火墙封掉QQ的端口,再加上其它的监测8080端口的方法(具体我不了然)。如果你的公司不设服务器,那么上班时间拔掉网线也可能是笨办法。。
Re Climbing:
Brother's method is a bit of a joke. I actually think that if that staff member's computer skills are not high, you can use batch processing to rename the main program name of QQ or the QQ folder, and change it back when using it. This is much lower in technical difficulty than automatically monitoring QQ operation and closing it at any time, and it is also very feasible. I believe the original poster can make it himself.
If that staff member is a computer expert, then the methods we can think of, she may also think of, so it is not safe. In this case, it seems that we can only think about it from the company's access server. Use the firewall to block the QQ port, and add other methods to monitor the 8080 port (I don't know the details specifically). If your company does not have a server, then unplugging the network cable during working hours may also be a clumsy method..
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-8-5 18:25 |
|
|
Climbing
铂金会员
       网络独行侠
积分 6962
发帖 2753
注册 2003-4-16 来自 河北保定
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
如果QQ处在启动状态,那么在改QQ的程序名和文件夹名之前,要先关闭QQ的进程,如果在XP环境下,可以使用taskkill,其它的环境,要找一些对应的关闭进程的程序。
If QQ is in the starting state, before changing the program name and folder name of QQ, you need to close the QQ process first. If in the XP environment, you can use taskkill. For other environments, you need to find some corresponding programs to close the process.
|

偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
|
|
2005-8-6 11:25 |
|
|
kuangdafayin
初级用户
 
积分 43
发帖 8
注册 2005-8-5
状态 离线
|
『第 7 楼』:
谢谢各位
使用 LLM 解释/回答一下
我编了个批处理文件,只是在QQ运行时,启动word、Excel或其它应用程序的时候可以将QQ关闭,但是在已运行word、Excel或其它应用程序时再启动QQ,就没办法了。当然,下属也不是什么高手,电脑水平一般。
I wrote a batch file. It can close QQ when QQ is running and Word, Excel or other applications are started. But when Word, Excel or other applications are already running and then QQ is started, it doesn't work. Of course, the subordinate is not a master, and the computer level is average.
|
|
2005-8-6 21:15 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
Re kuangdafayin:
可以将关闭进程与目录改名(或者移动)联合使用,即启动Office程序时,如果QQ运行,则关闭进程;如果QQ目录存在则改名或移动。
至于启动和恢复的时机,可以选择在开机后和关机前,但需“计划任务”支持。
Re-enforcement:
It is possible to combine the process closing with directory renaming (or moving). That is, when starting an Office program, if QQ is running, close the process; if the QQ directory exists, rename or move it.
As for the timing of starting and restoring, you can choose after booting and before shutting down, but "task scheduler" support is required.
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-8-8 12:38 |
|
|
brglng
银牌会员
     永遠的DOS~~~
积分 1200
发帖 466
注册 2005-2-1 来自 上海
状态 离线
|
|
2005-8-8 12:42 |
|
|
pandawy
新手上路

积分 7
发帖 5
注册 2005-8-8
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Originally posted by kuangdafayin at 2005-8-5 15:21:
求助:编辑批处理文件只要启动或运行应用程序(如word 、excel 、autocad等)就会自动关闭QQ.exe 程序。目的主要是公司下属一边工作一边聊天,很不专心..
用系统的计划任务和权限设置再加上批处理,去设置在固定时间段禁止运行QQ,然后再在固定时间段自动解锁,行吗?
Originally posted by kuangdafayin at 2005-8-5 15:21:
Help: Editing a batch file that automatically closes the QQ.exe program whenever an application (such as Word, Excel, AutoCAD, etc.) is started or run. The main purpose is that the subordinates in the company are not focused enough because they are chatting while working..
Can using the system's task scheduler, permission settings, and combined with batch processing to set it to prohibit running QQ during fixed time periods, and then automatically unlock during fixed time periods, work?
|
|
2005-8-8 15:25 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
|
2005-11-13 17:49 |
|