Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 316861dc6348a729adb1673855b7d897b94a9e57
Ticket: 714539ffffffffffffffffffffffffffffffffff
Add .lnk support to [file readlink] on windows
User & Date: nobody on 2003-04-03 11:04:50
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    file readlink is documented as:
    "Returns the value of the symbolic link given by name 
    (i.e. the name of the file it points to). If name isn't a 
    symbolic link or its value cannot be read, then an error 
    is returned. On systems that don't support symbolic 
    links this option is undefined."
    
    It is no question that symbolic links are not *fully* 
    supported on Windows, but .lnk files go part of the way 
    (though even cmd.exe doesn't honor them). However, 
    Cygwin uses .lnk files to model symbolic links quite 
    successfully.
    
    I propose that instead of raising an error when called 
    with a .lnk file, [file readlink] should return the path 
    pointed to in the .lnk file, using IShellLink routines.
    
    Resolution of pathnames in which parts are really .lnk 
    files may be more difficult.
    
    [email protected]
    
  4. foundin changed to: "obsolete: 8.4.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "None"
  10. title changed to: "[file readlink] on windows should work"
  11. type changed to: "RFE"