Index: sdk/bin/dartdoc.bat |
diff --git a/sdk/bin/dartdoc.bat b/sdk/bin/dartdoc.bat |
index b519129e3f52598a34597ba9ada57f63418b9800..37ed5f836ca21d168901b53d1d6223dc8f397f78 100644 |
--- a/sdk/bin/dartdoc.bat |
+++ b/sdk/bin/dartdoc.bat |
@@ -34,7 +34,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 |