i am making a .bat file to put on a disc i need a command that will give that file on the disk a desktop shortcut of that file

When you've created the disc, open a window shwing it's contents.
Now, while holding down the 'Alt' key, left-click and drag the batch file on to the desktop, then release. There is your shorcut.Don't forget that the shortcut won't work if that CD isn't in the drive, nor will it work if the CD drive-letter changes.
Yeah thanks i already knew that but i need the .bat file to create the shortcut for me so that i dont have to do it i know it sounds a bit stupid and it is a complicated situation but click and drag isnt an option
There is no way to do so from the Command Prompt without using a third party utility. The typical recommendation is to use VBScript.
ok then how do it in the vbscript
please help
