title: Get the File Type Description from batch
body: <p>I am able to get the file name and extension by using the batch command:</p>
  
  <p>for %%i in (<em>.</em>) do echo "%%~xi"</p>
  
  <p>However I am wanting to get the descriptor. </p>
  
  <p>For eg: for a file "foo.txt" I get ".txt" as a return argument.. I would want to get "TXT File (.txt)" instead.</p>
  
  <p>Thanks,
  Gautham</p>