Thanks for replying.
However, I still don't understand.
Here is my latest code;
Code:
#include <windows.h>
#include <tchar.h>
#include <iostream>
int APIENTRY WinMain(HINSTANCE hinstance, HINSTANCE hprevious, LPSTR cmdline, int cmdshow) {
if(ShellExecute(NULL, "explore", "\\\\panarchy\\share", NULL, NULL, SW_SHOWNORMAL); == ERROR_PATH_NOT_FOUND);
else
{
ShellExecute(NULL, "explore", "D:\\Backup\\", NULL, NULL, SW_SHOWNORMAL);
}
return 0;
}
Doesn't compile properly. Have also tried putting { a line before and } a line after, to no avail.
Please tell me how to get my code to work!
For the end result I am wishing, there is 1 network (UNC) path & 2 local paths.
Please help me reach my goal!
Thanks in advance,
Panarchy