Re: file readable / open
- From: "bgd" <bgd73@xxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 17:24:51 GMT
File busy?
maybe copy it with tcl to something else then read it.
"Francois Vogel" <fsvogelnew5NOSPAM@xxxxxxx> wrote in message
news:43b3e45c$0$4328$626a54ce@xxxxxxxxxxxxxxx
> 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
>
>
.
- References:
- file readable / open
- From: Francois Vogel
- file readable / open
- Prev by Date: Bests way to handle lines in files with only a return character?
- Next by Date: Re: Bests way to handle lines in files with only a return character?
- Previous by thread: file readable / open
- Next by thread: Bests way to handle lines in files with only a return character?
- Index(es):