[Bug 1564] in wcmd.exe, "if exist %directory%" always false