Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - exitwindowsexec() exit windows, runs a msdos program, and restart windows http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ExitWindowsExec()      Exit Windows, runs a MsDos program, and restart windows
--------------------------------------------------------------------------------

   Syntax:              ExitWindowsExec( <cExeName>, <cParams> ) -->
                                     <lSuccess>

   Parameters:

   <cExeName>               Identifies the MsDos EXE to execute. For batch
                            files, it is the path of the command.com.

   <cParams>                Identifies the parameters to supply to the
                            MsDos app. For a batch file you have to
                            include '/c':

                                     "/c batfile.bat"
   Returns:

   <lSuccess>               A logical value indicating that the operation
                            was completed successfully.

   Source code:         SOURCE\\WINAPI\\WinExec.c


See Also: WinExec() WaitRun()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson