Re: does the windows file handle change?
From: Roger Abell [MVP] (mvpNoSpam_at_asu.edu)
Date: 11/16/05
- Next message: djtony: "question about log on to a group of computer"
- Previous message: ricolee99_at_hotmail.com: "Configure .exe to always runas certain user in Windows??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 15 Nov 2005 22:34:08 -0700
Perhaps if you thought in terms of the structures the OS uses
to track in-use items this would be more clear. In that view,
a handle is "a slot" in one of these structures where the access
info needed for the particular file is stuffed away, well actually
the handle if the pointer to the pointer (not the slot, but info on
how to get to / use what is in the slot)
So, in one sense a handle might be said to not be the same if
file x is opened, closed, reopened. If the file is moved or is
accessed differently, what is "in the slot" may be different; or
a different "slot" might be used each time. But, in fact it might
happen that it is the same stuff gets stuffed into the same slot.
-- Roger Abell Microsoft MVP (Windows Server : Security) MCDBA, MCSE W2k3+W2k+Nt4 "Daniel" <softwareengineer98037@yahoo.com> wrote in message news:Op9h%23%23h6FHA.1708@TK2MSFTNGP10.phx.gbl... > does the windows file handle change? > > are file handles unique to the whole operating system or just the current > directoy? if a file is opened then closed then opened again, does the file > handle remain the same? > >
- Next message: djtony: "question about log on to a group of computer"
- Previous message: ricolee99_at_hotmail.com: "Configure .exe to always runas certain user in Windows??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]