wine/programs/cmd
Maarten De Braekeleer 5e2f9996ba cmd: Fix 'if exist' with a directory/ as a parameter.
'if exists' takes a parameter which can be directory, directory/,
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 '.'.

Follow-up commit of bc9d68bcbe

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55130#add_comment
2023-06-26 16:44:17 +02:00
..
tests cmd: Fix 'if exist' with a directory/ as a parameter. 2023-06-26 16:44:17 +02:00
batch.c cmd: Use standard C functions for memory allocation. 2022-12-09 17:52:25 +01:00
builtins.c cmd: Fix 'if exist' with a directory/ as a parameter. 2023-06-26 16:44:17 +02:00
cmd.rc cmd: Bail out when full path name exceeds MAX_PATH. 2022-01-25 20:50:49 +01:00
directory.c cmd: Use standard C functions for memory allocation. 2022-12-09 17:52:25 +01:00
Makefile.in cmd: Enable compilation with long types. 2022-02-17 09:07:07 +01:00
wcmd.h cmd: Use standard C functions for memory allocation. 2022-12-09 17:52:25 +01: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: Fix empty strings between PATH separators. 2023-06-21 18:25:48 +02:00