title: creating an icon of a shortcut of a batch file using nsis installer
body: <p>I need to set an icon for my batch file OR  for the shortcut of my batch file , using the nsis installer. 
  Can an icon be set only of a shortcut , or can i set the icon of the main batch file whose shortcut needs to be created.</p>
  
  <p>The following code isn't working:</p>
  
  <p>I have a folder <code>MyAccountSoftware</code>,  my installer will compile the files of this folder into the exe file.
  This folder has these two files :-</p>
  
  <pre><code>---MyAccountSoftware
         |______Account.BAT
         |______Account.ico
  
    SetOutPath $INSTDIR\  
    File "MyAccountSoftware\Account.BAT"  
  
  CreateShortCut "$INSTDIR\Account.lnk" "$INSTDIR\Account.BAT" "$INSTDIR\Account.ico"
  </code></pre>
  
  <p>This code, just copies the file <code>Account.BAT</code> into the required <code>$INSTDIR</code>,  and creates a shortcut -
  <code>Account.Ink</code>  in the <code>$INSTDIR</code>, but doesn't set the icon of the Shortcut.
  Please help.</p>