I am creating a Windows Store Javascript App
. I want to create a file inside apps installation location.
I created uri:
var p = "ms-appx:///" + filepath;
var uri = new Windows.Foundation.Uri(p);
How to create a file at this uri??
I know how to create it inside apps installation folder but not inside any subfolders
var package = Windows.ApplicationModel.Package.current;
var localFolder = package.installedLocation;
localFolder.createFileAsync("dataFile.txt", Windows.Storage.CreationCollisionOption.replaceExisting)
.
.
.
Just learnt that Apps don't have write access to their installed directory.