>>>George,
>>>
>>>Sorry to bother you again. I created MakeShortcut.exe using the following code:
>>< snip >
>>>It does its job fine, however I noticed, that Start In directory is shown as C:\DATAEN~1
>>>
>>>Do you know, why is what? It works anyway...
>>
>>It's simply using the short path name. If the original path is an LFN, and it isn't surrounded by quotes, I'm guessing that Windows is making the translation. This isn't an area that I've tested with the DLL, however. Using the short path isn't all that bad. I know that in the case of some versions of IIS, you can't use an LFN.
>
>You also have to be aware that using a SFN in a shortcut link can cause VFP to return SFNs from things like ADIR(). Just a quick heads up!
Thanks, Ed. I will try to put double quotes around the path and see, if it would fix the problem.
Right now I'm having problems with the installation, I created. I guess, I should not use files from another directory while building Setup, right? (I didn't put MakeShortCut.exe and icon file into the directory, I used to build this installation).
If it's not broken, fix it until it is.
My Blog