Como executar programas no MS-DOS?
Tenho que executar uns arquivos .bat que criei no DOS, como faço?
Biscalquini
Curtidas 0
Respostas
Anonymous
28/02/2003
Use WinExec ou CreateProcess. Eis suas definições:
arrebola@host.sk
UINT WinExec( LPCSTR lpCmdLine, UINT uCmdShow );
BOOL CreateProcess( LPCTSTR lpApplicationName, LPTSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lp ThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCTSTR lpCurrentDirectory, LPSTARTUPINFO lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation );
arrebola@host.sk
GOSTEI 0