Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Infuscare

listing directories

This topic is 5458 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any way to list all the directories like in dos prompt when u type ''dir''? does that work like running a file, like system("dir")? if so, how do i retrieve the info... I looked in msdn, but i''m not able to get decent search results... _________________________________________ "Why, why why does everyone ask ''''why'''' when ''''how'''' is so much more fun" -Spawn 1997

Share this post


Link to post
Share on other sites
Advertisement
The following link should anwser your question:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6790&lngWId=3



Understanding is a three edged sword...

Share this post


Link to post
Share on other sites
This in no means a rant, but how is dirent.h platform independant when it''s not included in MSVC (which is kind of standard for Windows programming)?

Can it be found for windows somewhere too?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!