Newbie: creating a folder/directory

Discussion in 'C Programming' started by Richard Coutts, Aug 30, 2003.

  1. Windows/C++

    I need to create a folder on the desktop from within my application.
    I can get the path to the desktop simple enough using
    'SHGetSpecialFolderLocation' and I can create a file on the desktop
    using 'fopen', but how do you create a folder?

    Thanks!
    Rich
     
    Richard Coutts, Aug 30, 2003
    #1
    1. Advertisements

  2. Richard Coutts wrote:

    > Windows/C++
    >
    > I need to create a folder on the desktop from within my application.
    > I can get the path to the desktop simple enough using
    > 'SHGetSpecialFolderLocation' and I can create a file on the desktop
    > using 'fopen', but how do you create a folder?


    You will need to use an extension supplied by your implementation. Such
    extensions are dealt with by newsgroups specific to those implementations.
    You don't mention which implementation you are using, so I can't direct you
    to a more appropriate group, but you might want to try one of these:

    comp.os.ms-windows.programmer.win32
    comp.unix.programmer
    comp.os.msdos.programmer

    --
    Richard Heathfield :
    "Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
    C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
    K&R answers, C books, etc: http://users.powernet.co.uk/eton
     
    Richard Heathfield, Aug 30, 2003
    #2
    1. Advertisements

  3. Richard Coutts

    Simon Biber Guest

    "Richard Coutts" <> wrote:
    > Windows/C++


    Rule number one: if you need to specify your platform, it's
    probably off-topic on comp.lang.c. For Windows questions go
    to comp.os.ms-windows.programmer.*. For C++ go to
    comp.lang.c++ (but only if it is standard, portable C++).

    > I need to create a folder on the desktop from within my
    > application. I can get the path to the desktop simple
    > enough using 'SHGetSpecialFolderLocation' and I can
    > create a file on the desktop using 'fopen', but how do you
    > create a folder?


    Yup. Off-topic here.

    --
    Simon.
     
    Simon Biber, Aug 30, 2003
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. THY
    Replies:
    3
    Views:
    3,184
    Alvin Bruney
    Oct 16, 2003
  2. William LaMartin

    _vti_cnf folder in the bin folder-- a problem?

    William LaMartin, Nov 10, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,916
    Oliver
    Nov 10, 2003
  3. Dan
    Replies:
    7
    Views:
    18,976
    catherine sea
    Oct 28, 2010
  4. Jon Maz
    Replies:
    12
    Views:
    6,270
    Vadim Chekan
    Jul 1, 2004
  5. Richard Coutts

    Newbie: creating a folder/directory

    Richard Coutts, Aug 30, 2003, in forum: C++
    Replies:
    2
    Views:
    1,445
    Richard Coutts
    Aug 30, 2003
  6. Richard Coutts
    Replies:
    1
    Views:
    411
    Kevin Goodsell
    Aug 30, 2003
  7. Replies:
    1
    Views:
    334
    Gre7g Luterman
    May 19, 2007
  8. Khafancoder
    Replies:
    4
    Views:
    482
    Khafancoder
    Jul 4, 2007
Loading...