I am trying to use ShellExecute to launch an application with an input file. What I want to happen is the equivalent of typing "C:\application.exe <input.txt" on the command line. I have tried the following:
ShellExecute(m_hWnd, "open", "C:\\application.exe", "<input.txt", NULL, SW_SHOWNORMAL);
Can anyone point out what I am doing wrong or another way to accomplish what I want to do?
Thanks
Scott
ShellExecute(m_hWnd, "open", "C:\\application.exe", "<input.txt", NULL, SW_SHOWNORMAL);
Can anyone point out what I am doing wrong or another way to accomplish what I want to do?
Thanks
Scott