General information
Category:
Coding, syntax & commands
Title:
Creating a shortcut
Hi,
I would like to use the following program for creating a shortcut but I can't
figure out what I am supposed to put in the link. What is a link or .lnk file?
Thanks
Steve Elster
cFileName = "c:\e\myProject.pjx"
cLinkName = ???
oShell = CREATEOBJECT('WScript.Shell')
cDesktop = oShell.SpecialFolders('Desktop')
oLink = oShell.CreateShortcut(cDesktop + "\" + cLinkName)
oLink.TargetPath = cFileName
oLink.Save()
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only