I have a windows.bat file which is actually my custom installer. When everything is installed i finally need to create one desktop shortcut icon, which has icon, and link to execute my Java jar. I successfully made one but its using VBS, what i am trying to do now is avoid using VBS but do it completely using BATCH file only. But how do i make this following in BATCH file?

Example: 

![enter image description here](https://i.stack.imgur.com/qIzEw.png)

1) Create an empty file vbs.vbs and paste this code to desktop

```
set WshShell = WScript.CreateObject("WScript.Shell" ) 
strDesktop = WshShell.SpecialFolders("AllUsersDesktop" ) 
set oShellLink = WshShell.CreateShortcut(strDesktop & "\StackOverflow shortcut.lnk") 
oShellLink.TargetPath = "c:\application folder\application.exe" 
oShellLink.WindowStyle = 1 
oShellLink.IconLocation = "c:\application folder\application.ico" 
oShellLink.Description = "Shortcut Script" 
oShellLink.WorkingDirectory = "c:\application folder" 
oShellLink.Save 

```

2) Double click the the vbs.vbs file and instantly it creates a shortcut file
in the desktop tested in Windows XP works

But how do i skip the VBS process and do it completely from my BATCH script? 
(Is there any way using `RUNDLL32.EXE APPWIZ.CPL,NewLinkHere (Dest)`)