windows 8 - WinJS getFolderAsync with path parameter -
so documentation storagefolder.getfolderasync says string parameter can name or path relative current folder of sub-folder retrieve.
i can name work fine, not relative paths, e.g. "localfolder/myfolder/mysubfolder/":
localfolder.getfolderasync("myfolder/mysubfolder" or "/myfolder/mysubfolder").done( /* success , error handlers */ );
it works fine if chain getfolderasync("myfolder") , getfolderasync("mysubfolder").
what doing wrong?
add path "screenshots\screenshot (3).png" example:
localfolder.getfolderasync("screenshots\\screenshot (3).png").done()
Comments
Post a Comment