Please be aware of notation below in command outlines. $ represents a command and rests of the lines following that line are output. Powershell is superset of traditional command prompt. Hence, all usual binaries still run on powershell for exxample, takeown.


An example use of rar (in my system referring to D:\ProgData\WinRAR\rar.exe),

rar a -m5 -psa1 -ep1 I:\Doc\docs.rar I:\Doc\Office_Docs\

without -ep1 it makes a big directory tree

gnuwin32 tools

similar to Unix,

"D:\ProgramFiles_x86\GnuWin32\bin\gzip.exe" -d .\bitarray-ex-0.8.1.tar.gz
"D:\ProgramFiles_x86\GnuWin32\bin\tar.exe" -xvf .\bitarray-ex-0.8.1.tar
"D:\ProgramFiles_x86\GnuWin32\bin\tar.exe" --version

External Applications

Here are some command line examples for External Applications.

using tftp to uplod a file into ftp server,

 tftp -i PUT 'E:\LinkSys E2000\images\FW_E2000_1.0.04.007_US_20101201_code.bin' FW_E2000_1.0.04.007_US_20101201_code.bin

I used to use this one for 'ATA Automation'.

Identify image format info using image magick's identiy (referring to C:\Program Files\ImageMagick-6.8.8-Q16\identify.exe in my system as an example),

identify "F:\Documents\Images\From Previous Cell-Phone\2011-09\01092011.jpg"
identify -verbose "F:\Sourcecodes\Web\ASP .Net\Icons\saos_favicon.ico"

Identify image format info using image magick's convert tool (referring to C:\Program Files\ImageMagick-6.8.8-Q16\convert.exe in my system as an example),

convert -background transparent

ps2pdf tool (location in my system C:\Program Files\MiKTex\miktex\bin\x64\ps2pdf.exe) from Miktex from example,

ps2pdf D:\Source\

Video Applications

mkvextract Extract subtitle using mkvextract (referring to C:\Program Files (x86)\MKVToolNix\mkvextract.exe in my system),

mkvextract tracks D:\Movies\Fences.mkv "2:D:\Movies\"

mkvmerge (in my system C:\Program Files (x86)\MKVToolNix\mkvmerge.exe) show info on mkv file,

mkvmerge -i D:\Movies\Fences.mkv