Solved

DOS Command to use webcam

Posted on 2012-12-26
4
4,482 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
  • 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 69

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…

809 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