I want to write c program which calls another exe. This wrapper c program does nothing but sets some environment variable before I call my original exec. For example My original exec name is test.exe and I wrote testwrapper.exe I want to call it as testrapper.exe < parameter >, internally it will should call test.exe < parameter >
My program is when I call test.exe as test.exe "c:\program files\input" C escapes " passes as parameter
Any solution to this problem.