[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

getting all files until last one....



hi friends,
i have a problem in implementing an idea.
my idea is given a directory name i have to get all the files &
subdirectory in that directory,again all files & subdirectory in that
subdirectory  until last files are got & i want to read them all through
FILE structure pointers so i want all the filenames as arguments  in a
variable.
 thanx in advance.
 shiv...

-- 
                  
---------------------------------------------------------------------------- 
                                             .-~~~-,
                                            (       )
                                          (         )
                     -^x^-               (          )
                   /~     ~\           (           )
                  |         |         (           )
                  |         |        (           )
                  |     __ _,       (~~~~-(     )
                 /\/\  (. ).)       `_'_', (   )
                  C       __)       (.( .)-(  )
                  |   /~~~  \      (_      ( )
                  /   \ ~===='    /_____/` D)
                /`-_   `---'         \     |
           .__|~-/^\-~|_/_   |^^^^^^^||    |
          __.         ||/.\  |       |OooooO
          \           ---. \ |       |      \ _
         _-    ,`_'_'  .~\  \|__   __|-____  / )
        <     -(. ).)   > \  ( .\ (. )     \(_/ )
         ~-       _) \_- ooo @  (_)  @      \(_//.
        / /_C (-.____)  /((O)/       \     ._/\~_.
       /   |_\     /   / /\\\\`-----''    _|>o<  |__
       |     \ooooO   (  \ \\ \\___/     \ `_'_',  /
        \     \__-|    \  `)\\-^\\ ^--.  /_(.(.)- _\
         \   \ )  |-`--.`--=\-\ /-//_  '  ( c     D\
          \_\_)   |-___/   / \ V /.~ \/\\\ (@)___/ ~|
         /        |       /   | |.  /`\\_/\/   /   /
        /         |      (   C`-'` /  |  \/   (/  /
       /_________-        \  `C__-~   |  /    (/ /
            | | |          \__________|  \     (/
                                         \

-------------------------------------------------------------------------------
ENJOY