• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6847
  • Last Modified:

DOS Command to use webcam

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.

  • 2
1 Solution
Paul MacDonaldDirector, Information SystemsCommented:
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.
QlemoBatchelor and DeveloperCommented:
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.
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:

Perhaps this one will work for you:

To capture video you could try these commands for VLC Player:

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.
Thank you hughes01
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now