China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-04 10:10
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Help with a batch script for unplugging/replugging a webcam View 899 Replies 3
Original Poster Posted 2007-04-26 10:12 ·  中国 浙江 温州 苍南县 电信
新手上路
Credits 9
Posts 3
Joined 2007-04-26 09:22
19-year member
UID 86533
Gender Male
Status Offline
The PCs at the internet café—after installing the webcam driver, it works at first, but after a reboot it stops working, just a white screen. You have to unplug it and plug it back in before it works again. I've tried lots of different drivers and they all do this. Is there any batch file for unplugging/replugging? How should this be done????

If anyone knows, please reply. I'm online waiting, really urgent, thank you.

[ Last edited by hetan on 2007-4-25 at 09:13 PM ]
Floor 2 Posted 2007-04-26 10:16 ·  中国 江苏 苏州 电信
中级用户
★★
我是DOS学者
Credits 367
Posts 180
Joined 2006-05-14 10:53
20-year member
UID 55507
Gender Male
From 重庆
Status Offline
That gets into hardware programming, a bat file can't possibly do it. I suggest you keep looking carefully for the matching driver~~ it should be that you're using the wrong driver. The so-called universal drivers on the internet are best avoided; otherwise the result is just like yours!
Floor 3 Posted 2007-04-26 10:17 ·  中国 浙江 温州 苍南县 电信
新手上路
Credits 9
Posts 3
Joined 2007-04-26 09:22
19-year member
UID 86533
Gender Male
Status Offline
I'm using the official original version.
Floor 4 Posted 2007-04-27 23:55 ·  中国 广东 深圳 电信
初级用户
Credits 48
Posts 20
Joined 2006-11-02 03:01
19-year member
UID 69244
Gender Male
Status Offline
A bat file probably can't directly operate hardware. Try going into the hardware manager in Windows, disable -> enable it, and then see whether the webcam works. Mine has this problem too—sometimes it's fine, and sometimes the only fix is to reboot. Sigh, the consequence of being cheap.
Forum Jump: