Solved

DOS Command to use webcam

Posted on 2012-12-26
4
4,893 Views
Last Modified: 2013-01-28
Hi
I have a USB webcam.
Please suggest a DOS command to click a photo using my USB webcam.
Also, can i store it an location of my choice on the disk.


Help.
0
Comment
Question by:hughes01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 38721642
There won't be a native DOS command to do this.  

Your web cam may or may not have come with software that will facilitate what you want to accomplish.
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 38721714
Very unlikely you will find anything in "DOS" doing that. Windows application are able to do this, and there are some free ones out there allowing for simple operations.
0
 
LVL 38

Accepted Solution

by:
BillDL earned 500 total points
ID: 38729465
You will probably find that there are keyboard shortcuts for the image capture software that came with the webcam, and you can use a Visual Basic Scripting to simulate key presses while the software is open and running.

Try this free GUI program and see if you can get still image captures from your webcam by calling it from the command line:
http://www.nirsoft.net/utils/web_cam_image_capture.html

Perhaps this one will work for you:
http://batchloaf.wordpress.com/commandcam/

To capture video you could try these commands for VLC Player:
http://forum.videolan.org/viewtopic.php?f=2&t=63313
http://forums.whirlpool.net.au/archive/1726581

I have a feeling that IrfanView image viewer/editor might allow you to do this by using the webcam as a twain device with the /scan switch, but I would have to check.
0
 
LVL 38

Expert Comment

by:BillDL
ID: 38826664
Thank you hughes01
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question