Hi everyone,

I have the following problem to solve:
I have a configuration file that contains only a path (like C:/Program Files/install for instance). In this path, I have to unzip an Apache. I do not install Apache because the zip I have contains special configuration I need in my project.
With the Apache unpacked, I have 2 things to do:
1- Edit the httpd.conf file in order to contain the "unzip" path correctly
2- Create a "start Apache" shortcut.

The problem I have is exactly in the step 2. I just don't know how to create a shortcut from inside a C++. As most of you should know, this shortcut is not just an executable call. In my PC, the shortcut has the following meaningful info:

Target: "C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe" -w -f "C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf" -d "C:\Program Files\Apache Software Foundation\Apache2.2\."
Start in: "C:\Program Files\Apache Software Foundation\Apache2.2\"


So, is it possible to create this shortcut?


thanks in advance for your help