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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -