Last active
December 22, 2015 19:09
-
-
Save ProfAvery/6518196 to your computer and use it in GitHub Desktop.
How to create a .profile file for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Enable by running the following command: | |
REM reg add "HKCU\SOFTWARE\Microsoft\Command Processor" /v AutoRun /t REG_EXPAND_SZ /d ^%USERPROFILE^%\.profile.cmd /f | |
set HOME=%USERPROFILE% | |
set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_01 | |
set PATH=%JAVA_HOME%\bin;%PATH% | |
set ANT_HOME=C:\apache-ant-1.9.2 | |
set PATH=%ANT_HOME%\bin;%PATH% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment