Permalink
Browse files

Added brackets around root_path in the mkdir directive of setup_for_h…

…acking to account for user's whose root directory contains spaces
  • Loading branch information...
1 parent 69d3085 commit 6b9ed27e7238117e81748886721dd0170f34092e @adalcin adalcin committed Feb 11, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/setup_for_hacking.bat
@@ -16,7 +16,7 @@ if exist %1\dev rmdir %1\dev
REM - Make symlink
REM (doesn't work on XP - see instructions below)
-mklink /d %1\dev %root_path%
+mklink /d %1\dev "%root_path%"
GOTO Exit
@@ -30,7 +30,7 @@ GOTO Exit
:XPNotSupported
ECHO Sorry, this script doesn't run in Windows XP.
ECHO To enable hacking, use the junction tool (http://technet.microsoft.com/en-us/sysinternals/bb896768)
-ECHO as follows: junction.exe %1\dev %root_path%
+ECHO as follows: junction.exe %1\dev "%root_path%"
ECHO (in the folder containing Brackets.exe)
:Exit

0 comments on commit 6b9ed27

Please sign in to comment.