Jump to content
Sign in to follow this  
chrisdunham95

Unable to Set Windows Env Variables - USER_PREF_DIR

Recommended Posts

Hey all,

I'm trying to set the environment variable HOUDINI_USER_PREF_DIR - to a specific folder.

I have other environment variables working perfectly, but I cannot get this one to work regardless of whether I use a windows environment variable or place this inside the Houdini.env,

Everytime I open Houdini and check the shell using hconfig, it says my temp directory is set to the default directory,

does anyone have any ideas? My only guess is this is being set elsewhere and their fore overriding my manually created env varaibles.

(Ive checked spelling etc. and this is what my windows env variable looks like; name = ‘HOUDINI_USER_PREF_DIR’, value = ‘D:\Houdiniprefs’ )

Thanks
Chris.

Share this post


Link to post
Share on other sites

So ive found that the HOME env variable is what seems to be overriding my pref directory, but thought it would be possible to set them independently 

Share this post


Link to post
Share on other sites

user pref dir must includ __HVER__ to work - this gives it somewhere to shove the houdini major version

for example:

HOUDINI_USER_PREF_DIR= U:/houdini__HVER__

which resolves to u:/houdini17.0

cheers,

chrisg

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×