Click here to Skip to main content
11,701,855 members (61,725 online)
Click here to Skip to main content

Tagged as

How to Get a List of Files and Folders Without Directory.GetFiles Access Denied Error

, 20 Jul 2009 CPOL 24.7K 19
I know the title is a bit long, but it descriptive of the problem. Recently I had need to retrieve a listing of files and folders given a root path. All worked well, until I tested on Vista and Windows 7 machines. When trying to browse the "Users" folder, I kept getting access denied errors and no

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

merlin981
Software Developer (Senior)
United States United States
Winner - Best Mobile App - AT&T Developer Summit, Las Vegas, 2013

My personal resume can be found at: http://www.philippiercedeveloper.com

My game portfolio can be found at: http://www.rocketgamesmobile.com

About Philip Pierce:

I am a software developer with twenty years experience in game development, mobile, web, desktop, server, and database. My extensive background highlights an expertise in rapid application development using the latest Microsoft, Mobile, and Game Development technologies, along with the ability to create AI for games and business software, redesign existing software, develop multi-threaded software, and create client/server applications.

| | Privacy | Terms of Use | Mobile
Web03 | 2.8.150819.1 | Last Updated 20 Jul 2009
Article Copyright 2009 by merlin981
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid