Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
0 Members and 1 Guest are viewing this topic.
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?