cmd: Fix regression around prompting during copy.

This commit is contained in:
Jason Edmeades 2012-10-04 09:57:33 +01:00 committed by Alexandre Julliard
parent 36f2b09632
commit 270163f380
1 changed files with 3 additions and 0 deletions

View File

@ -1162,7 +1162,10 @@ void WCMD_run_program (WCHAR *command, BOOL called)
/* Special case BAT and CMD */
if (ext && (!strcmpiW(ext, batExt) || !strcmpiW(ext, cmdExt))) {
BOOL oldinteractive = interactive;
interactive = FALSE;
WCMD_batch (thisDir, command, called, NULL, INVALID_HANDLE_VALUE);
interactive = oldinteractive;
return;
} else {