AutoRun Wizard AutoRun Wizard Software
CD Autorun Software
RJL Software
Top Rated!Top Rated!Top Rated!Top Rated!Top Rated!
Top Rated Autorun Software!

AutoRun Wizard FAQ more

Q: How can I copy a shortcut to my application on to the users Desktop? (12,070 views)

Within AutoRun Wizard there is no option create a shortcut to your application and place it on the users desktop. However, some of our savvy customers have created a VB Script file that achieves the same thing.

Simply open notepad and type in this:

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

Note: Modify lines 3, 4, 6, 7, 8 (bolded) to change this to your specific needs.

Save the file as addshortcut.vbs (make sure there is not a .txt extension and it is only .vbs)

Then copy the newly created vbs file to your Base Folder. Once in your Base Folder you can auto launch the vbs file as part of your autorun. When the user inserts the cd, the shortcut will be copied to their desktop.

Go back to the FAQ for AutoRun Wizard.

 
AutoRun Wizard Home
 
AutoRun Wizard Features
 
Download AutoRun Wizard
 
AutoRun Wizard Turorial
 
AutoRun Wizard Screens
 
FAQ For AutoRun Wizard
 
AutoRun Wizard Version History
 
Register AutoRun Wizard