You need to create the folders one by one via WinRT API.
Windows.Storage.ApplicationData.current.localFolder.createFolderAsync("foo", Windows.Storage.CreationCollisionOption.replaceExisting)
.then(function (f) {
return f.createFolderAsync("bar", Windows.Storage.CreationCollisionOption.replaceExisting);
}).then(function (f) {
return f.createFileAsync("file.dat");
});
Or you could wrap an own WinRT helper class to do this function, then you could use it in JS.
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
