Dos.FSearch wrong result using joker-signs
Original Reporter info from Mantis: Kritikon
-
Reporter name: Dr Nafz
Original Reporter info from Mantis: Kritikon
- Reporter name: Dr Nafz
Description:
begin
s:='*.*';
writeln(Dos.FSearch(s,'c:\'));
end.
Should report '' but reports '.'.
-> In contrast to Sysutils.Fsearch, TP6 and DP7 the FSearch() of the Dos-Unit
doesn't handle '*' and '?' correct: It outputs simple the input string but should return an empty string (a single '?' ist interpreted correctly.