Post by SteveGG
I've had this interesting but not too bothersome (TG) thing for quite
a while. The Explorer lists a duplicate and completely identical
version of C:\Program Files, following the 1st. If I try to access
anything in the 2nd listing, I get the "can't find" type error.
Everything in the 1st listing works fine so no big deal. I just ignore
the 2nd non-functional listing. Everything done with the 1st is
immediately reflected in the duplicate 2nd. Of coarse I'd like to
eliminate the 2nd listing but get the "don't have access" type error.
Post this periodically to see if anyone can shed light, but so far NG.
You have a folder with an illegal name. Like a space
character on the end of the name or something.
Explorer evaluates the name the first time, draws
the list, then decides the name is illegal, snips
off the rotten part, evaluates the name again,
lists the files.
Use a copy of Everything.exe, which has a "generate
file list option". Use the *portable* version, which
you unpack from the ZIP, as in
everything.exe -create-filelist output.txt "C:"
( http://www.voidtools.com/downloads/ )
then go through the list and find the Program Files entry.
Since the list is CSV and file names are separated by
commas, you should be able to spot an anomaly there.
You can open the output.txt file with Notepad.
I don't think Program Files uses a junction point, but,
maybe it does. I suppose such a possibility might exist
so that users can move their Program Files folder to
D: or something. Is your folder like this ?
Did you make a concerted effort at some time,
to move Program Files to D: for space management
reasons ? Maybe that has contributed to your
symptoms today. Maybe at some point you tried to
move the Program Files folder back to C: . Or,
perhaps you repair installed the OS, and the Program
Files got moved back to C: at that point.
Think about the history of that folder, and what
you've done to it...
The "junction" program, can provide information about
junction points. The general mechanism is called a
reparse point (meaning, "the OS must reconsider this folder"),
and new features can be added to the file system, by means
of adding reparse information into a certain metadata file.
A junction point them, requires the OS to reconsider the
folder, and use the right filter to decide how to
display the folder or file involved.
Don't use the "create" or "delete" functions right away.
Just use the "list" options.