Forum Discussion

BetterToday's avatar
BetterToday
Brass Contributor
Oct 20, 2020
Solved

Can I share documents between apps that have been saved to %AppData% sub folder?

At https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes#common-operations it reads:   New files and folders created under the following directories are redirected...
  • TIMOTHY_MANGAN's avatar
    Oct 20, 2020

    BetterToday  It is technically possible for the other app to find the file by knowing the package family name of the package that created the file, but if you expect and end-user to browse to that location it is not likely to be acceptable by them.

     

    You would be better off in using a different common area for storage of cross-app shared files that is not subject to redirection.  While the Documents folder is a common approach, you gave a coding file as an example; so you might want to try elsewhere.  For example, directly in the user profile ("C:\users\username\repos") should work and avoid the redirection (as long as you keep that folder out of the package).

Resources