Sweden-Number/programs/cmd
Bernhard Übelacker f238e846e7 cmd.exe: Change parsing of the if command to avoid parsing the operators.
Found while trying to look into bug 44236.
A batch script is executed containing a line like this:
  if (%1)==(p) start /W  " "  "%SFDIR%WSFplot" wr2300.t35 3

This returns an error like this:
  Syntax error
  Can't recognize 'p' as an internal or external command, or batch script.

It looks like native does handle the brackets differently when contained
inside the condition part of the if command.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44338
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-23 22:12:09 +02:00
..
tests cmd.exe: Change parsing of the if command to avoid parsing the operators. 2019-08-23 22:12:09 +02:00
Makefile.in cmd: Build with msvcrt. 2019-05-03 16:30:39 +02:00
batch.c cmd: Build with msvcrt. 2019-05-03 16:30:39 +02:00
builtins.c cmd.exe: Change parsing of the if command to avoid parsing the operators. 2019-08-23 22:12:09 +02:00
cmd.rc cmd: Correct capitalization of "Windows Explorer". 2019-04-03 19:28:19 +02:00
directory.c cmd: Explicitly mark qsort() callback funtions cdecl. 2019-05-06 03:40:25 -05:00
wcmd.h cmd.exe: Change parsing of the if command to avoid parsing the operators. 2019-08-23 22:12:09 +02:00
wcmd.ico cmd: Add a 256x256 icon. 2013-03-27 20:12:27 +01:00
wcmd.svg cmd: Add a 256x256 icon. 2013-03-27 20:12:27 +01:00
wcmdmain.c cmd.exe: Change parsing of the if command to avoid parsing the operators. 2019-08-23 22:12:09 +02:00