Andrew Lee wrote:
What if I want to access a file that is a real path eg. C:\ABC\MyDoc.XYZ?
Would that be silently converted to E:\Portables\ABC\MyDoc.XYZ?
If so, that would be a little tricky...
Right now, if C:\ABC is a "known system directory" (see my list from a previous post) then yes, it will, if the file is to be changed, which means that the app opens it with write or delete access. If the file is only opened for reading purposes, then the path is left alone and the app opens the real file. If it then attempts to overwrite it, the path is changed and the new version of the file is written to the redirected directory. If the file is then ever re-opened, even for reading purposes only, the path is modified since a redirected version of that file exists.
Also right now, if C:\ABC is just a regular user directory, no redirection occurs. Eventually I'll add an inclusion list which will allow us to say "treat C:\ABC as a known system directory," which means access to it would then be redirected as well.