Reputation: 371
Command line programs like ffmpeg.exe accept a parameter like so:
c:\> ffmpeg.exe -i img%03d.png img.gif
This will grab all these images in the directory and use them inside the program:
img001.png
img002.png
img003.png
img004.png
Is there a clever way to implement this in my VB.net command line project, or do I have to parse the argument for the %0?
Upvotes: 0
Views: 300
Reputation: 28530
You might try using quotes, like this:
ffmpeg.exe -i "img 3.png" "img.gif". I've used quotes before to get around spaces in parameters (like changing directories in DOS).
Upvotes: 1