Maybe you have another version of cmd.exe in your path?
In reply to Re^4: Windows: system() and PAUSE by rovf in thread Windows: system() and PAUSE by rovf