Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

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%

This comment has been minimized.

Copy link
@smokinsmolko12

smokinsmolko12 Nov 8, 2019

Free Pascal Compiler version 3.0.4+dfsg-18ubuntu2 [2018/08/29] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling source_file.pas
source.pas(2,6) Fatal: Syntax error, "BEGIN" expected but "identifier LUCID" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode

This comment has been minimized.

Copy link
@shaggy-2

shaggy-2 Jun 14, 2021

ass file

mklink /d %1\dev "%root_path%"

This comment has been minimized.

Copy link
@shaggy-2

shaggy-2 Jun 14, 2021

find platform

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.