Create directory with date
Goodmorning
I want little help
Code:
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
Re: Create directory with date
Little help goes here: you cannot add char* to string literal. You shoudl use some string class for this operation.