Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58027
Also fix the find command, so it works in the new tests. This commit is the same as in !8589, it's needed by both.
-- v3: cmd: Fix errorlevel from del. cmd/tests: Pass a valid handle as hStdInput.