2 * PAUSE.C - pause internal command.
7 * 16 Jul 1998 (Hans B Pufal)
10 * 16 Jul 1998 (John P Price)
11 * Seperated commands into individual files.
13 * 27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
14 * added config.h include
16 * 18-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
22 #ifdef INCLUDE_CMD_PAUSE
33 * Perform PAUSE command.
35 * FREEDOS extension : If parameter is specified use that as the pause
38 * ?? Extend to include functionality of CHOICE if switch chars
42 INT
cmd_pause (LPTSTR cmd
, LPTSTR param
)
45 DebugPrintf ("cmd_pause: \'%s\' : \'%s\'\n", cmd
, param
);
48 if (!_tcsncmp (param
, _T("/?"), 2))
50 ConOutPuts (_T("Stops the execution of a batch file and shows the following message:\n"
51 "\"Press any key to continue...\" or a user defined message.\n\n"