File busy?
maybe copy it with tcl to something else then read it.
"Francois Vogel" <fsvogelnew5NOSPAM@free.fr> wrote in message
news:43b3e45c$0$4328$626a54ce@news.free.fr...
> Hi all,
>
> Consider this, on Windows XP or 2000, tcl/tk 8.4.12 (replace <my_account>
> by your real info):
>
> file exists "C:/Documents and Settings/<my_account>/NTUSER.DAT"
> 1
> file readable "C:/Documents and Settings/<my_account>/NTUSER.DAT"
> 1
> open "C:/Documents and Settings/<my_account>/NTUSER.DAT" r
> couldn't open "C:/Documents and Settings/<my_account>/NTUSER.DAT":
> permission denied
>
> How come?
>
> I know that Windows has this file permanently open while my session is
> open, but shouldn't file readable spit 0 instead of 1?
>
> Is this perhaps another incarnation of bug 1193497?
>
> Thanks,
> Francois
>
>
Received on Tue Jan 3 03:09:36 2006