Very simple problem I have here.
If network share is found, open it in explorer. Else open LocalFolder1. If LocalFolder1 isn't found, open LocalFolder2.
Current code;
Code:
#include <windows.h>
#include <tchar.h>
#include <iostream>
int APIENTRY WinMain(HINSTANCE hinstance, HINSTANCE hprevious, LPSTR cmdline, int cmdshow) {
ShellExecute(NULL, "explore", "\\\\panarchy\\share", NULL, NULL, SW_SHOWNORMAL);
return 0;
}
Thanks in advance,
Panarchy

