Last active
August 29, 2015 14:27
-
-
Save oglops/93088a1d4148df15c0c2 to your computer and use it in GitHub Desktop.
initialize houdini 14 environment in any windows command prompt
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 | |
set "H=C:\Program Files\Side Effects Software\Houdini 14.0.395" | |
:: get houdini version | |
for %%v in (%H:"=%) do set HOUDINI_VERSION=%%v | |
:: convert to 8.3 short name | |
for %%f in ("%H%") do set H=%%~sf | |
:: replace \ with / | |
set H=%H:\=/% | |
set HB=%H%/bin | |
set HD=%H%/demo | |
set HFS=%H% | |
set HH=%H%/houdini | |
set HHC=%H%/houdini/config | |
set HSITE=%H%/site | |
set HT=%H%/toolkit | |
set HTB=%H%/toolkit/bin | |
:: extended syntax just in case if there are spaces in %PATH% | |
set "PATH=%H%/bin;%H%/toolkit/bin;%PATH%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment