wine/programs/cmd
Jason Edmeades bc9d68bcbe cmd: Fix 'if exist' with a directory\ as a parameter.
'if exists' takes a parameter which can be directory, directory\ or
directory\. for example, and should equate to true if the directory
exists. The syntax directory\ is explicitly rejected by FindFirstFile
and hence was not working - look for this specific case, and if found
append a '.'.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45506
Signed-off-by: Jason Edmeades <us@edmeades.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:38 +02:00
..
tests cmd: Fix 'if exist' with a directory\ as a parameter. 2018-08-29 22:01:38 +02:00
batch.c cmd: Fix shortpath handling in for loops. 2018-08-29 22:01:38 +02:00
builtins.c cmd: Fix 'if exist' with a directory\ as a parameter. 2018-08-29 22:01:38 +02:00
cmd.rc cmd: Implement builtin mklink command. 2017-11-14 20:45:44 +01:00
directory.c cmd: Use the ARRAY_SIZE() macro. 2018-08-21 23:02:30 +02:00
Makefile.in makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
wcmd.h cmd: Expand the storage space for qualifiers. 2018-07-16 09:19:04 +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: Handle single line 'if' as nested if or with redirects. 2018-08-29 22:01:38 +02:00