I have a cmd.exe which is executing a .bat file under 98/Me. From Another Application I want to execute GetCommandLine() function inside the cmd.exe(using some injection/hooking). We can achieve this by CreateRemoteThread in NT and above OS.
What is the simple and save method available under 98/Me? I just want to interact with only one application(cmd.exe) not the whole system process.