Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Set oWS = WScript.CreateObject("WScript.Shell") shortCut = "C:\temp\myshortcut.lnk" Set oLink = oWS.CreateShortcut(shortCut) oLink.TargetPath = "C:\temp\test.bat"oLink.WorkingDirectory = "C:\temp"oLink.Save
hey guys...How 2 create shortcuts on desktop Using Batch file I tried the command linexcopy r11.exe %AllUsersProfile%\desktop\where am I going wrong.
You are right. The command line is the testing ground for batch.Did the xcopy command work at the command line?: xcopy r11.exe %AllUsersProfile%\desktop\Place in batch file , mycopy.batC:\batch>type mycopy.batxcopy r11.exe %AllUsersProfile%\desktop\C:\batch> mycopy.bat
If the xcopy command does not work from the command line, the xcopy command will not work inside a batch file.
He's playing a game called IRL. Great graphics, *censored* gameplay.
There was no issue with that, only an issue with the end-result.
xcopy r11.exe %AllUsersProfile%\desktop\r11.lnk
http://www.msfn.org/board/creating-shortcuts-installation-time-t29964.html&hl=creat+shortcut
[Version]Signature=$CHICAGO$
have you even tried the various solutions mentioned here?
[AddLink];adds shortcut to ERUNT.exe within %ProgramFiles%\Standalone\ERUNT folder to %USERPROFILE%\Start Menu\Programs\Standalone\ERUNTsetup.ini, progman.groups,, "group1=""%16386%\Standalone\ERUNT\"""setup.ini, group1,,"""ERUNT"",""""""%16422%\Standalone\ERUNT\ERUNT.EXE"""""""