title: Create a shortcut with parameters added to the program path
body: <p>Here's the code, it works if I right click on the new .Lnk and remove the quotes<br>
  from <code>"C:\Windows\System32\control.exe /name Microsoft.Windowsupdate"</code><br>
  to <code>C:\Windows\System32\control.exe /name Microsoft.Windowsupdate</code></p>
  
  <pre><code>echo off
  Cls
  set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs"
  echo Set oWS = WScript.CreateObject("WScript.Shell") &gt;&gt; %SCRIPT%
  echo sLinkFile = "%USERPROFILE%\Desktop\Weekly Maintenance\Windows Update.lnk" &gt;&gt; %SCRIPT%
  echo Set oLink = oWS.CreateShortcut(sLinkFile) &gt;&gt; %SCRIPT%
  echo oLink.TargetPath = "C:\Windows\System32\control.exe /name Microsoft.Windowsupdate" &gt;&gt; %SCRIPT%
  echo oLink.Save &gt;&gt; %SCRIPT%
  cscript /nologo %SCRIPT%
  del %SCRIPT%
  pause
  cscript /nologo %SCRIPT%
  del %SCRIPT%
  </code></pre>
  
  <p>any ideas?</p>