|  | 
 
| ayincn 新手上路
 
  
 
 
 
 积分 2
 发帖 1
 注册 2007-6-28
 状态 离线
 |  | 
|  2007-6-28 15:07 |  | 
|  | 
 
| xshrimp 新手上路
 
  
 
 
 
 积分 10
 发帖 5
 注册 2006-6-13
 状态 离线
 |  | 
|  2007-7-2 13:51 |  | 
|  | 
 
| leton 初级用户
 
   
 
 
 
 积分 170
 发帖 72
 注册 2007-3-11
 状态 离线
 | 
| 『第 33 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
嘿,能否修改一下,实现实时监控 USB存储设备,一旦检查到就自动删除? 
Hey, can you modify it to achieve real-time monitoring of USB storage devices and automatically delete them once detected? 
 
 
 |  | 
|  2007-7-2 15:06 |  | 
|  | 
 
| leton 初级用户
 
   
 
 
 
 积分 170
 发帖 72
 注册 2007-3-11
 状态 离线
 | 
| 『第 34 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
加个延时上去,但感觉 会导致系统性能下降 
Add a delay, but it feels that it will cause the system performance to decline 
 
 
 |  | 
|  2007-7-2 15:07 |  | 
|  | 
 
| jsb2008 初级用户
 
   
 
 
 
 积分 43
 发帖 22
 注册 2007-8-21
 状态 离线
 | 
| 『第 35 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
暴强啊,谢谢楼主分享!!! 
Extremely powerful! Thanks to the LZ for sharing!!! 
 
 
 |  | 
|  2007-8-21 13:39 |  | 
|  | 
 
| zyfcxp 初级用户
 
   
 
 
 
 积分 41
 发帖 24
 注册 2007-9-4
 状态 离线
 |  | 
|  2007-9-7 17:42 |  | 
|  | 
 
| densefog 新手上路
 
  
 
 
 
 积分 2
 发帖 1
 注册 2007-9-14
 状态 离线
 | 
| 『第 37 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
我用”Win+R“调出控制台输入命令:for /f %i in ('devcon findall usb* ^|find /i "usb mass storage"') do devcon remove "@%i"后,控制台窗口直接关闭了。
 
 把命令换成:for /f %i in ('devcon findall usb* ^|find /i "usb mass storage"') do echo hello
 依旧是自运关闭控制台窗口。
 我直接运行devcon findall usb* , 可以正常运行
 运行devcon findall usb* | find /i "usb mass storage" ,可以正常运行
 
 不知道问题出在什么地方。
 
I used "Win+R" to bring up the console.After entering the command: for /f %i in ('devcon findall usb* ^|find /i "usb mass storage"') do devcon remove "@%i", the console window closed directly.
 When I replaced the command with: for /f %i in ('devcon findall usb* ^|find /i "usb mass storage"') do echo hello, the console still closed automatically.
 I directly ran devcon findall usb*, which worked normally.
 Running devcon findall usb* | find /i "usb mass storage" worked normally.
 I don't know where the problem lies.
 
 
 
 |  | 
|  2007-9-14 18:31 |  | 
|  | 
 
| ice360 初级用户
 
   
 
 
 
 积分 20
 发帖 10
 注册 2007-4-23
 状态 离线
 | 
| 『第 38 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
试试呢,不知道好用不。。 
Let's give it a try. I don't know if it will work well. 
 
 
 |  | 
|  2007-10-27 23:08 |  | 
|  | 
 
| zysheng110 初级用户
 
   
 
 
 
 积分 31
 发帖 16
 注册 2007-10-24
 状态 离线
 | 
| 『第 39 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
正在学习中!有很多不会,现在头晕了 
Learning! There are many things I don't know, and now I'm dizzy. 
 
 
 |  | 
|  2007-10-29 01:00 |  | 
|  | 
 
| mayu2004 初级用户
 
   
 
 
 
 积分 109
 发帖 40
 注册 2007-12-22
 状态 离线
 |  | 
|  2007-12-22 16:16 |  | 
|  | 
 
| tyndall 新手上路
 
  
 
 
 
 积分 8
 发帖 3
 注册 2007-12-1
 状态 离线
 | 
| 『第 41 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
用了,但是删除后马上又认出来了。去掉devcon rescan测试,发现把我的USB鼠标也给卸载了,必须再用devcon rescan加载,按理说find /i "usb mass storage"这句不是已经限定了只有USB存储设备才会被卸载的吗……为什么我的不行啊,单独运行命令devcon findall usb*
 和运行命令
 devcon findall usb* |find /i "usb mass storage"
 出来的结果一样
 
I used it, but it was recognized immediately after deletion. After removing the devcon rescan test, I found that my USB mouse was also uninstalled, and I had to use devcon rescan to load it again.按理说 the line find /i "usb mass storage" is already limited to only uninstalling USB storage devices... Why doesn't mine work? Running the command devcon findall usb* alone and running the command devcon findall usb* |find /i "usb mass storage" gives the same result 
 
 
 |  | 
|  2008-1-14 12:41 |  | 
|  | 
 
| fengwei1980 新手上路
 
  
 
 
 
 积分 6
 发帖 5
 注册 2008-1-5
 状态 离线
 | 
| 『第 42 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
很好的工具想下载给点分吧呵呵
 
A very good tool wants to be downloaded. Please give some points, hehe 
 
 
 |  | 
|  2008-2-27 10:33 |  | 
|  | 
 
| lac312 新手上路
 
  
 
 
 
 积分 16
 发帖 8
 注册 2008-3-29
 状态 离线
 | 
| 『第 43 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
呵呵 ~很经典~  我的建议是在中间加个延时,那样就有足够的时间来拔usb了~比如ping 127.1 -n 20 >nul愚见而已~
 
Hehe ~ very classic~ My suggestion is to add a delay in the middle, so that there is enough time to unplug the USB~ For example, ping 127.1 -n 20 >nulJust my humble opinion~
 
 
 
 |  | 
|  2008-3-29 23:44 |  | 
|  | 
 
| lac312 新手上路
 
  
 
 
 
 积分 16
 发帖 8
 注册 2008-3-29
 状态 离线
 | 
| 『第 44 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
@echo offfor /f %%i in ('devcon findall usb* ^|find /i "usb mass storage"') do devcon remove "@%%i"
 ping 127.1 -n 20 >nul
 devcon rescan
 pause
 
 echo 呵呵测试成功,很好,很强大~
 
@echo offfor /f %%i in ('devcon findall usb* ^|find /i "usb mass storage"') do devcon remove "@%%i"
 ping 127.1 -n 20 >nul
 devcon rescan
 pause
 
 echo Hehe, test successful, very good, very powerful~
 
 
 
 |  | 
|  2008-3-29 23:47 |  | 
|  | 
 
| linquanhouzi 新手上路
 
  
 
 
 
 积分 2
 发帖 1
 注册 2007-10-20
 状态 离线
 |  | 
|  2008-3-30 12:13 |  |