I am attempting to search for ipconfig.exe in the system directory. In this case the file is located "C:\windows\system32\ipconfig.exe", I would like it to be more portable.
Below is a snippet of code from function where I pass the command and the system directory.
I am able to locate the file if specify the direct path, but that kind of defeats what I am attempting to do.
The Error Value from GetLastError is:
If I have left anything out that is needed please let me know.
string full_file_path = file_path + "\\" + filename;