CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2010
    Posts
    1

    Talking Reading subdirectories!!

    I need help making my code read subdirectories... it does read from the folder that i run it in.. It reads all mp3 files... But only problem is it wont read it from subdirectories!

    Here is my code


    scan( "*.mp3", "C:", true );


    Anyway to make it read other folders in that directory?

    Thanks in advance, Jackson!

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Reading subdirectories!!

    Here's mine:
    Code:
    scan_with_subfolders( "*.mp3", "C:", true );
    Now getting serious. How we are supposed to help without seeing your real scan code?
    Best regards,
    Igor

  3. #3
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Reading subdirectories!!

    Jackson!
    Is your
    Code:
    scan( "*.mp3", "C:", true );
    a recursive function?
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured