Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKahbazi <A.Kahbazi@gmail.com>2019-10-25 05:31:14 +0300
committerGitHub <noreply@github.com>2019-10-25 05:31:14 +0300
commite542cc4d3de6e018ed7834a0434328de23a6e0d3 (patch)
tree6857f6a0bd4062a370aaaf4a7866be6ef0761001 /startvs.cmd
parentc0161c7e777fffde7d914abbe0cd2716b6304dd7 (diff)
Fix startvs.cmd for path with space
Diffstat (limited to 'startvs.cmd')
-rw-r--r--startvs.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/startvs.cmd b/startvs.cmd
index 0de7bb7d56..c9613224fc 100644
--- a/startvs.cmd
+++ b/startvs.cmd
@@ -13,7 +13,7 @@ SET DOTNET_MULTILEVEL_LOOKUP=0
:: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use
SET PATH=%DOTNET_ROOT%;%PATH%
-SET sln=%1
+SET sln=%~1
IF "%sln%"=="" (
echo Error^: Expected argument ^<SLN_FILE^>
@@ -27,4 +27,4 @@ IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" (
exit /b 1
)
-start %sln%
+start "" "%sln%"