locked
How to get list of all files in directories and sub-directories of drive with Administrator right? RRS feed

  • Question


  • my program throws an exception due to system privileges...for few folders and files e.g System Volume Information & pagefile.sys etc..!!
    any idea how to resolve it?
    Sunday, September 29, 2013 7:23 PM

Answers

  • You cant.

    An app can only access certain folders.

    Only the user can access other folders via a filepicker.


    n.Wright

    • Proposed as answer by nigelwright7557 Sunday, September 29, 2013 11:16 PM
    • Marked as answer by Anne Jing Monday, October 7, 2013 2:17 AM
    Sunday, September 29, 2013 11:16 PM

All replies

  • Since store apps run in a sandbox I would not expect you to be able to access them.   How are you trying to access these files?
    Sunday, September 29, 2013 8:27 PM
  • You cant.

    An app can only access certain folders.

    Only the user can access other folders via a filepicker.


    n.Wright

    • Proposed as answer by nigelwright7557 Sunday, September 29, 2013 11:16 PM
    • Marked as answer by Anne Jing Monday, October 7, 2013 2:17 AM
    Sunday, September 29, 2013 11:16 PM