There are 4 APIs to create a new process in windows:
1. system
2. ShellExecute
3. CreateProcess
4. WinExec (Note This function is provided only for compatibility with 16-bit Windows. Applications should use the CreateProcess function.)
= appendix =
Use SetCurrentDirectory/GetCurrentDirectory to deal with the current directory for the current process.