locked
Move a StorageFolder RRS feed

  • Question

  • Is there an easy way to move a storagefolder from one location to another? I know it can be easily done with a storage file so I could do it myself but I'm thinking I've probably just missed something really obvious.

    Thanks

    Ross

    Friday, March 16, 2012 11:40 AM

Answers

  • Hi Ross,

    I don't think you're missing anything. StorageFolder doesn't provide a Move method, so if you want to move it to a different location (rather than just renaming it) you'll need to create a new folder and then move the contents.

    --Rob

    • Marked as answer by Min ZhuMember Tuesday, March 20, 2012 6:37 AM
    Saturday, March 17, 2012 2:05 AM
    Moderator