locked
Winrt equivalent functions for directory handling?

    Question

  • Hi,

    I'm porting our code to Windows Store and I haven't been able to find an equivalent for the following functions, related to directory handing:

    GetCurrentDirectoryW

    SetCurrentDirectoryW

    CreateDirectoryW

    GetLogicalDrives

    I did find equivalent for other functions, especially FindFirstFile (FindFirstFileEx), and FindNextFile still works, so I assume directories still exist in windows 8 :-) Do "logical drives" exist too, or is it using mount points now?

    Thanks!

    Monday, September 15, 2014 4:24 AM

Answers

  • You only have access to the Storage that is assigned to your app. THis can be the Isolated Storage (available through the ApplicationData class) or dictories that the user give you permission to with the FolderPicker

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Monday, September 15, 2014 8:15 AM