title: Pin a shortcut of a vbs script to the taskbar (W2008 Server)
body: <p>I have a VBS that that make some actions and then call a program :
  "C:\Program Files (x86)\myprogram.exe"</p>
  
  <p>I have created a shortcut to the vbs file and put the icon of myprogram.exe
  The users think they launch myprogram.exe but they launch the script. (ie some actions and then launch the program).</p>
  
  <p>Now, users want to pin the shorcut to the taskbar. When we pin the shortcut to the taskbar, 
  it don't launch the script, it laucnch "Settings of Windows script Host".</p>
  
  <p>It looks like this : 
  <a href="http://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/" rel="nofollow">http://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/</a></p>
  
  <p>Can someone have a solution to do that without using a .bat file that launch the script.
  Thanks.</p>
  
  <p>I have found this solution, change the target in  shortcut : 
  "C:\Windows\System32\cscript.exe "C:\Program Files (x86)\myscript.vbs"
  The problem is that cscript open during 2ms one dosbox.</p>
  
  <p>Do you know a way to avoid the dosbox ?</p>
  
  <p>Regards</p>