Thread: Creating A New Directory

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    3

    Creating A New Directory

    I need to create a new directory. I have tryed using the CreateDirectory function from windows.h. But can not get it to work.


    Thanks,
    Taylor

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    3

    Found It

    CreateDirectory("c:\\temp\\test", NULL);

    I just didn't look hard enough in MSDN.

    Thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. Couple errors please help :-D
    By JJJIrish05 in forum C Programming
    Replies: 9
    Last Post: 03-06-2008, 02:54 AM
  3. Replies: 9
    Last Post: 03-03-2006, 10:11 PM
  4. MFC: How do you check if a directory exists before creating?
    By BrianK in forum Windows Programming
    Replies: 5
    Last Post: 07-06-2004, 01:09 AM
  5. Creating a file in a certain directory
    By bc17 in forum C++ Programming
    Replies: 10
    Last Post: 11-24-2002, 12:20 PM