Artifacts Associated With Ticket 459569ffffffffff
Ticket change [a7d8e56ec5] (rid 98872) by randalt on 2001-09-07 15:51:38:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
sourcing a link to a tcl script fails under NT4.0 and TCL8.3 the command source file.lnk produces the message invalid command name "L ..." It appears that the shortcut descriptor file is being read rather than the file the shortcut points to. The following commands also exhibit similar behavior set filehandle [open file.lnk] read file.lnk This returns the contents of the shortcut descriptor not the file pointed to by the shortcut file copy file.lnk newfile The contents of newfile are the shortcut descriptor not the contents of the file pointed to by the shortcut.
- foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "randalt"
- subsystem initialized to: "None"
- title initialized to: "source and open fail on shortcut files"
- type initialized to: "Bug"
Ticket change [223c335669] (rid 130709) by dgp on 2001-09-07 23:19:59:
- assignee changed to: "vincentdarley"
- subsystem changed to: "37. File System"
Ticket change [931808e946] (rid 105756) by vincentdarley on 2001-09-08 00:06:35:
- assignee changed to: "nobody"
- icomment:
Logged In: YES user_id=32170 There is no support for links in Windows Tcl, because there seems to be no support for them in the Win32 APIs which Tcl uses (e.g. CopyFileW or CopyFileA). Windows seems to expect an application to check every file accessed, whether it is a .lnk and then take some other action. On Mac/Unix the OS does this for you. The upshot is that to support this would involve lots and lots of changes and every single file access of any kind in Tcl would have to go through these extra hurdles... Not ideal! I don't know whether there are better approaches...
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
Ticket change [d716efed38] (rid 123919) by dgp on 2003-11-13 05:24:30:
- assignee changed to: "vincentdarley"
Ticket change [7d3a08f734] (rid 97210) by vincentdarley on 2003-11-13 05:51:04:
- assignee changed to: "hobbs"
Ticket change [e98a28b94d] (rid 104832) by hobbs on 2004-11-18 00:49:16:
- closedate changed to: "2004-11-17T17:49:16"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 As noted, Windows shortcut files are not real links, which are supported since 8.4.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "hobbs"