Index: sdk/bin/dartanalyzer.bat |
diff --git a/sdk/bin/dartanalyzer.bat b/sdk/bin/dartanalyzer.bat |
index 4e8ba547df815c2525d73727096b6cffc30d0eb4..464aaee540257f52eb16865b7ebf86b113383b84 100644 |
--- a/sdk/bin/dartanalyzer.bat |
+++ b/sdk/bin/dartanalyzer.bat |
@@ -60,7 +60,7 @@ setlocal |
for %%i in (%1) do set result=%%~fi |
set current= |
for /f "usebackq tokens=2 delims=[]" %%i in (`dir /a:l "%~dp1" 2^>nul ^ |
- ^| %SystemRoot%\System32\find.exe "> %~n1 ["`) do ( |
+ ^| %SystemRoot%\System32\find.exe "> %~n1 [" 2^>nul`) do ( |
set current=%%i |
) |
if not "%current%"=="" call :follow_links "%current%", result |