capturing directory structure

This is a discussion on capturing directory structure within the C Programming forums, part of the General Programming Boards category; Hi, can anybody suggest how can i capture directory structure of a drive, it would be similar to what "dir ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    20

    capturing directory structure

    Hi,

    can anybody suggest how can i capture directory structure of a drive, it would be similar to what "dir /s >> filename.txt" will do in DOS.

  2. #2
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Location
    Bangalore, India
    Posts
    345
    Depends on your OS/Compiler in use. What are they?

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    20
    i would like to capture directory structure in windows platform. i know "dir /s >> filename.txt" will work.. but i want to do this using c programming.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Couple errors please help :-D
    By JJJIrish05 in forum C Programming
    Replies: 9
    Last Post: 03-06-2008, 02:54 AM
  2. Building a tree from a directory structure
    By geekoftheweek in forum C Programming
    Replies: 2
    Last Post: 11-26-2007, 03:15 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. Replies: 6
    Last Post: 07-30-2003, 04:08 AM
  5. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21