Batch Convert Images
The quickest way of converting image formats is to use ImageMagick. There are binary releases for most popular operating systems, however in my case I’m using it on OS X. So to install using brew from a terminal use: brew install imagemagick Once that is installed then just move to the folder you are interested in and use the following: mogrify -format png *.jpg Once that is completed the folder of jpegs should now have some png friends to play with.
Converting Wma to Mp3
This is easy with ffmpeg: ffmpeg -i source_file.wma -ab 128k output_filen.mp3 Where the -ab is the bitrate.
How to Send Email from the Command Line in Windows
Blat is the way forward. Blat is a small, efficent SMTP command line mailer for Windows. It is the SMTP sending part of an eMail User Agent (MUA) or eMail client. As such, Blat sends eMail via SMTP (or internet eMail) from the command line, or CGI, … blat 1.txt -t [email protected] -attach 1.bmp -base64 -html This will include the contents of 1.txt in the body of the email and attach the file 1.