PDA

View Full Version : shortcut problem



limboo
08-03-2009, 01:28 PM
How can i get the real .ink files into a zip file?, instead of the file the shortcut links to

thanks

mwreyf1
08-03-2009, 02:08 PM
They are NOT .ink files.

They are .LNK files.

You add them just as you would any other type of file.

limboo
08-03-2009, 10:53 PM
but they link to say an exe right?
well am7 doesn't save the .lnk file but the exe where the lnk file links to
and i just want the .lnk not the .exe

mwreyf1
08-04-2009, 08:48 AM
That is not the result I'm getting.

It works fine using this code.


Zip.Add("D:\\Myzip.Zip", {"D:\\ghostexp.lnk"}, true, "", 5, nil, false);

After the .ZIP is created I open it and all thats inside is the .lnk file, not the .EXE it points to that is in the same D: root.

limboo
08-04-2009, 09:19 AM
but if you use with the filebrowser it will point to the exe and that's what i don't want

mwreyf1
08-04-2009, 10:15 AM
Oh, I see.

Yes, that would be nice if they fixed that in the next version.