Overview
| Artifact ID: | 049f0f6bcf20a3c82dd3cf0d606a0bfa81115f92 |
|---|---|
| Ticket: | 3c13c4ed3149202f546a874457823389ba484be9
file delete command fails on symbolic links to directories |
| User & Date: | jan.nijtmans on 2013-08-13 13:14:42 |
Changes
- closedate changed to: "2456518.05188206"
- closer changed to: "jan.nijtmans"
- icomment:
What is the content of the $file variable? Does it contain the ".lnk" extension? On Windows, links are just files with the .lnk extension, and Tcl handles them like that just fine. I created a directory "bar" and a link "bar1" to it in Windows explorer. See below for the behavior of Tcl 8.5 on it. My conclusion: works as designed. I removed the 3 other tickets you submitted today, because they are all the same issue. =================================================== >dir Volume in drive C is WINDOWS Volume Serial Number is B47C-2648 Directory of C:\bar 13-08-2013 15:04 <DIR> . 13-08-2013 15:04 <DIR> .. 13-08-2013 15:04 <DIR> foo 13-08-2013 15:04 1.089 foo1.lnk 1 File(s) 1.089 bytes 3 Dir(s) 423.596.019.712 bytes free >tclsh85 % glob * foo foo1.lnk % file delete foo1.lnk % exit >dir Volume in drive C is WINDOWS Volume Serial Number is B47C-2648 Directory of C:\bar 13-08-2013 15:06 <DIR> . 13-08-2013 15:06 <DIR> .. 13-08-2013 15:04 <DIR> foo 0 File(s) 0 bytes 3 Dir(s) 423.596.015.616 bytes free - login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"