Hi,
I am trying to port a test suite present in linux to WinCE 5.0.
I am trying to find a way of executing the shell commands like ipconfig, set etc on a WinCE device that doesnot have a “command prompt”.
What i am trying is, the following 2 lines of code:
sprintf(gCmdStr, “ipconfig”…);
system(gCmdStr);
when executed on a Llinux system would execute as a system command and return the ip address and stuff like that.
I know a similar way of executing the ipconfig command on WinCE ie using
CreateProcess() and calling the “cmd.exe” and passing the "ipconfig " as the command line arguement.
But i am not able to find a way to execute the commands like ipconfig, set etc on WinCE devices that do not have command-prompt support.
How can this be accomplished?
Any suggestions in this regard is highly appreciated.