From: SourceForge.net <no...@so...> - 2006-04-14 16:25:19
|
Feature Requests item #1467011, was opened at 2006-04-09 00:19 Message generated for change (Comment added) made by czi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373088&aid=1467011&group_id=22049 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Scripting Group: 2.0 Series Status: Closed Priority: 5 Submitted By: David Weiss (czi) Assigned to: Amir Szekely (kichik) Summary: CreateShortcut should be able to create shortcuts to folders Initial Comment: Currently, if you try to create a shortcut with CreateShortcut and specify any directory as a target, the shortcut will fail to work. you should be able to not only create shortcuts for files but also for folders. this may be implemented as auto-detection on runtime (may lead to conflicts, if a file and a folder have the same path and name) or as some syntax for the user to choose on scripting time. for example, you specify normal shortcuts with "C:\blabla.exe" and folder shortcuts with "C:\blabla\*". last one would lead to folder "C:\blabla\" ---------------------------------------------------------------------- >Comment By: David Weiss (czi) Date: 2006-04-14 18:25 Message: Logged In: YES user_id=970495 ah yes, you're right :) ---------------------------------------------------------------------- Comment By: Amir Szekely (kichik) Date: 2006-04-14 17:28 Message: Logged In: YES user_id=584402 That's impossible. ---------------------------------------------------------------------- Comment By: David Weiss (czi) Date: 2006-04-14 15:56 Message: Logged In: YES user_id=970495 nope, none available, sry :) but what if there's a folder which contains both a file and a subfolder with the same name? e.g.: file: C:\example\file.txt folder: C:\example\file.txt\*.* for which of them the shortcut will be created? for the file or the folder? ---------------------------------------------------------------------- Comment By: Amir Szekely (kichik) Date: 2006-04-14 11:21 Message: Logged In: YES user_id=584402 Works fine for me as well. Please include a complete example, if available. ---------------------------------------------------------------------- Comment By: David Weiss (czi) Date: 2006-04-12 15:25 Message: Logged In: YES user_id=970495 hmm, someone in the irc reported that it would not work for him. ---------------------------------------------------------------------- Comment By: Anders (anders_k) Date: 2006-04-12 01:35 Message: Logged In: YES user_id=872912 Works for me: name foldershortcut outfile foldershortcut.exe page instfiles section CreateShortCut "$smprograms\foldertest.lnk" "$windir" sectionend ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373088&aid=1467011&group_id=22049 |