Index: sdk/bin/dart2js.bat |
diff --git a/sdk/bin/dart2js.bat b/sdk/bin/dart2js.bat |
index 76601828b7005a893800206206261c826b162e29..c0786608c9a17829bde80a10a923e753c2082cea 100644 |
--- a/sdk/bin/dart2js.bat |
+++ b/sdk/bin/dart2js.bat |
@@ -50,7 +50,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 |