Skip to content

Commit

Permalink
Added brackets around root_path in the mkdir directive of setup_for_h…
Browse files Browse the repository at this point in the history
…acking to account for user's whose root directory contains spaces
  • Loading branch information
adalcin committed Feb 11, 2014
1 parent 69d3085 commit 6b9ed27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/setup_for_hacking.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.