Thread: Working with directories in windows

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    1

    Working with directories in windows

    I'm writing a program for windows xp, and basically the user inputs a file name, and the the programs does stuff to that file.

    I'm wondering if its possible to give the user the option of inputing a directory path, and then have the program do stuff to every file in that directory and all sub directories.

    Thanks

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Yes, of course it's possible, although not from standard C alone. Check MSDN for file-specific Windows API functions.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  2. I dont get this working on gcc it works fine in windows
    By wise_ron in forum C Programming
    Replies: 8
    Last Post: 05-08-2006, 05:33 AM
  3. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  4. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM