How to Delete Application folder in Javascript/Html Metro App for windows -



How to Delete Application folder in Javascript/Html Metro App for windows -

var applicationdata = windows.storage.applicationdata.current; var path = applicationdata.localfolder.path; path = path.replace('\\localstate', ''); var folder = windows.storage.storagefolder.getfolderfrompathasync(path).done(function () { }); folder.deleteasync().done(function () { }); window.close();

executing code exception im not allowed access hidden folder , have alter file attribute of it. please suggest me solution. please note want delete entire application folder , not application data.

javascript windows windows-phone-8 windows-phone-8.1 winjs

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -