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
Post a Comment