locked
how get short filename from folder/file in windows 8 store application (c++)

    Question

  • I need to convert the path of a file to 8.3 format (mostly because I need to store the path on char8)

    is there any way to do that on metro applications

    Tuesday, June 18, 2013 4:24 AM

Answers

  • What is the scenario you are trying to achieve? Where is the file whose path you are trying to determine?

    If this is a file within your app's package or local data you can control the file name and keep a relative path. If it is not within your app's package or local data then you can't access the file by path but need to use StorageItems.

    --Rob

    Tuesday, June 18, 2013 4:39 AM
    Owner