PDA

View Full Version : Shortcut Folder


crazymike
09-17-2006, 06:18 PM
I want to install shortcuts in using Version 7.0 in the same directory that I install in using Version 6.0 the $SCFolderPath% variables. I can't seem to find a variable that is suitable.

I want the variable in Version 7.0:

SessionVar.Expand("%AppShortcutFolderName%")

to expand to the same directory as the variable:

%SCFolderPath%

Does in Version 6.0:

Here is the syntax I am using:

Shell.CreateShortcut(SessionVar.Expand("%AppShortcutFolderName%"), "RUN TEST", SessionVar.Expand("%AppFolder%\\PLOCATE.EXE"), SessionVar.Expand("%AppFolder%\\TDPBOARD.PCV"), SessionVar.Expand("%AppFolder%"), SessionVar.Expand("%AppFolder%\\CRAYON.ICO"), 0, SW_MAXIMIZE, nil, "View A Test Board Image");