I have successfully made a directory in AppData Folder, but i want to navigate into that folder using C++ How do i go about it.
My code looks like this
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
//printf("Hello world!\n");
char *name = getenv("USERNAME");
char info[1500];
const int bufferSize = MAX_PATH;
sprintf(info,"C:\\Users\\%s\\AppData\\Local\\BizMail", name);
_mkdir(info);
getchar();
return 0;
}