I am writing a simple console application in C++, that connects my Android tablet with PC.
To do so, I have to type "\\192.168.1.5" into Internet Explorer (doesn't work anywhere else). So I wanted to write a simple application to do it instead of me. But Internet Explorer doesn't want to except the parameter starting with \\.
This code works perfectly with opening a web page, but it doesn't solve my problem.
#include "stdafx.h"
#include "Windows.h"
int _tmain(int argc, _TCHAR* argv[]){
LPCTSTR open = L"open";
LPCTSTR file = L"iexplore.exe";
LPCTSTR path = L"C:\Program Files\Internet Explorer";
LPCTSTR parameters = L"\\192.168.1.5";
ShellExecute(NULL, open, file, parameters, path, SW_SHOWNORMAL);
return 0;
}
Can you suggest a solution please?