f4c01bba15a0d84028cd136ac4e56c9dde2889d8
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>)
20 #define WIN32_LEAN_AND_MEAN
24 #ifdef INCLUDE_CMD_PAUSE
35 * Perform PAUSE command.
37 * FREEDOS extension : If parameter is specified use that as the pause
40 * ?? Extend to include functionality of CHOICE if switch chars
44 INT
cmd_pause (LPTSTR cmd
, LPTSTR param
)
47 DebugPrintf ("cmd_pause: \'%s\' : \'%s\'\n", cmd
, param
);
50 if (!_tcsncmp (param
, _T("/?"), 2))
52 ConOutPuts (_T("Stops the execution of a batch file and shows the following message:\n"
53 "\"Press any key to continue...\" or a user defined message.\n\n"