Create directory with date
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: Create directory with date

Threaded View

  1. #1
    Join Date
    Mar 2011

    Create directory with date

    I want little help
    AnsiString S=DateToStr(Date());
    	char *test=S.c_str();
       CreateDirectory("c:\\Monday"+test, NULL);
    i made the upper code and i want to create a directory with a name of Week and next to it the date. For example will the program
    will check the today date from a datetime picker and will create a folder with Day and Date. But i want little help
    Last edited by Leite333; November 24th, 2012 at 02:05 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)