Skip to content

Instantly share code, notes, and snippets.

@pifantastic
Created February 25, 2010 17:19
Show Gist options
  • Save pifantastic/314750 to your computer and use it in GitHub Desktop.
Save pifantastic/314750 to your computer and use it in GitHub Desktop.
pushd "..\..\..\"
set INSTALL_DIR=%CD%
set INSTALL_DIR=%INSTALL_DIR:\=/%
popd
CALL replace.bat "@FOLDER_NAME_SLASH" "%INSTALL_DIR%" "..\..\..\Apache\conf\httpd.conf" > "..\..\..\Apache\conf\httpd.conf.tmp"
DEL "..\..\..\Apache\conf\httpd.conf" /F /Q
REN "..\..\..\Apache\conf\httpd.conf.tmp" "httpd.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment