Working with directories in windows

This is a discussion on Working with directories in windows within the C Programming forums, part of the General Programming Boards category; I'm writing a program for windows xp, and basically the user inputs a file name, and the the programs does ...

  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,211
    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, 06:33 AM
  3. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 03:16 PM
  4. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 06:48 PM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM

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