locked
How to copy file from store app to specific directory?

    Question

  • Is there any way to copy a file from the window 8.1 store app to the specific folder (for eg: D:/test) by using app package payload or using code in the windows 8.1 store app?   plz give me the solution for this problem.



    • Edited by gk23 Friday, February 28, 2014 10:08 AM
    Friday, February 28, 2014 10:07 AM

Answers

  • Your app doesn't have access to D:/Test so you'll need to use a FolderPicker to let the user choose the folder. Once you have that you can use StorageFile.CopyAsync to copy to the selected StorageFolder.

    --Rob

    Friday, February 28, 2014 4:53 PM
    Owner