Solved

Creating Windows shortcuts programmatically

Posted on 2004-10-12
1
521 Views
Last Modified: 2010-05-18
I am using Delphi 3...

How does a programmer create Windows (32-bit) shortcuts programmatically?  I have a HTML file in (let's say) d:\mystuff.  The HTML file is named "hello.html".   I now want to create a Windows SHORTCUT link to this "hello.html" file, and I want the shortcut to appear in "c:\documents and settings\All Users\Start Menu\Programs".

I know how to do this manually, with keyboard, dragging files, etc...  but I do not know how to create a shortcut via Delphi.

Thanks.
0
Comment
Question by:Monroe406
1 Comment
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 125 total points
ID: 12288352
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now