symlink - How to obtain the target path pointed by a symbolic link in Tcl -
i need find path of target file pointed symbolic link in tcl. ie. if c:\temp\link symbolic link file pointed target c:\bin\sub\sub1\originalfile , how can find path c:\bin\sub\sub1\originalfile symbolic link file c:\temp\link using tcl? used set item "c:\temp\link" file readlink $item but returned following error could not readlink "c:/temp/link": not directory can help?