Thread: How to create a folder

  1. #1
    C++, using Dev C++
    Join Date
    May 2004
    Posts
    7

    How to create a folder

    I want to write a code who are creating a folder on the desktop in Windows XP, how to do that?

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    First, read this thread for code on how to get the directory which represents your desktop.
    Then use CreateDirectory() or _mkdir() to create a new directory within the desktop directory.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Making a folder and moving files into it?
    By HLA91 in forum C Programming
    Replies: 1
    Last Post: 01-27-2008, 12:38 PM
  2. API Call to create folder
    By cboard_member in forum Windows Programming
    Replies: 2
    Last Post: 12-01-2005, 12:08 PM
  3. Cannot create MDI Client Win
    By JaWiB in forum Windows Programming
    Replies: 1
    Last Post: 10-31-2005, 10:05 PM
  4. Create folder from variable name
    By nmullane in forum C++ Programming
    Replies: 4
    Last Post: 09-25-2005, 06:41 AM
  5. Files not updating in folder
    By BobS0327 in forum Tech Board
    Replies: 4
    Last Post: 06-06-2005, 05:55 PM