When in Windows XP, you could easily get to your directory of cookies by going to Start, Run, typing “Cookies” in the window and hitting ENTER. You’d be instantly taken to the cookie folder for your account. It’s a useful feature as you didn’t need to go digging around within Internet Explorer looking for your cookies.
Trying this in Vista comes up with a friendly “C:\users\\cookies is not available – Access is denied” (Figure 1). You’re an administrator yet you can’t get into your own cookie folder? Seems odd….
You can manually open up My Computer and browse to C:\users\\ and see that there appears to be a shortcut to Cookies listed (Figure 2), but again if you click on it, you’ll get the same error. Note that you need to have the options enabled to display hidden and system files and folders in order to see the Cookies folder.
The Whole Story
Windows Vista moved user profiles under C:\Users getting rid of the Documents and Users directory. In addition to this, some XP folders were moved into new locations. In order to preserve backwards compatibility with some applications, Vista introduced a new type of “shortcut” called a Junction Point – a symbolic link pointing to the new location. By default, these shortcuts have no read access to the contents of the link – thus you aren’t able to just double click on the folder.
To see where the Junction Point is pointing to, you can go to a command prompt and cd to c:\users. Type “dir /aL” and you will see the Junction Points and their locations (Figure 3).
The real location for the Cookie folder in vista is C:\Users\\AppData\Roaming\Microsoft\Windows\Cookies
So, how do you conveniently get to the Cookies directory now? Unfortunately there isn’t an easy way to go back to the old system. You could create a batch file calling explorer to open the proper Cookie directory and then put that batch file in your PATH so you could call the batch file from the Start, Run line or you could just create a shortcut from Explorer. I’d probably just create the shortcut by right clicking on the Cookies folder, dragging it out to your desktop or Start menu and selecting Create Shortcut.
Additional information on Junction Points can be found on the MSDN site here: “Windows Junction Points”