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?


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -