How to setup environment variables in Windows?
35591 19 2- shiyongfw
- Member
- 10 posts
- Joined: July 2007
- Offline
HI,Everyone !
I sreached for it and got some results which are about in unix or mac.
I edited houdini.env file which is located in “My Documents\houdini9.5” for times,but it is not any change compare with before and after.So I really don't know how to setup a environment variables correctly,Anyone could tell me?
Thanks!
I sreached for it and got some results which are about in unix or mac.
I edited houdini.env file which is located in “My Documents\houdini9.5” for times,but it is not any change compare with before and after.So I really don't know how to setup a environment variables correctly,Anyone could tell me?
Thanks!
- michael
- Member
- 66 posts
- Joined: July 2005
- Offline
# Open Control Panel
# Click the System icon and the window pops up
# Go to the Advanced pane
# Click the Environment Variables button
# There are two seperated windows showing two sets of environment
variables.
Select the “new” button for the upper window to create a new environment variable. Select the “Edit” button for the upper window to edit an existing environment variable.
Probably you need to create the “HOME” and “DISPLAY” variable, and edit the “PATH” variable.
# Click the System icon and the window pops up
# Go to the Advanced pane
# Click the Environment Variables button
# There are two seperated windows showing two sets of environment
variables.
Select the “new” button for the upper window to create a new environment variable. Select the “Edit” button for the upper window to edit an existing environment variable.
Probably you need to create the “HOME” and “DISPLAY” variable, and edit the “PATH” variable.
- DrFrankenRex
- Member
- 69 posts
- Joined: March 2008
- Offline
Here [garagegames.com] is how I did it in XP for my Dell system; where I allowed the default installation folder with whitespace which caused some issues with pathing.
Once I found out about the environmental variables, I tested and generated the above post and included some imagery for clarity.
I haven't had any issues with pathing yet….
Once I found out about the environmental variables, I tested and generated the above post and included some imagery for clarity.
I haven't had any issues with pathing yet….
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
- Aearon
- Member
- 54 posts
- Joined:
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
Hmmm. Works for me. I added:
HOUDINI_MAXTHREADS = 1
launch Houdini and only 1 thread is used for a fluid sim.
In the houdini textport typing:
echo $HOUDINI_MAXTHREADS
returns 1 (defaults to -1) so I know it is working in my case.
You need to put the houdini.env somewhere in the HOUDINI_PATH or in the local directory that you launch Houdini in.
If you double click on houdini files or launch from the Start menu, then this pretty much means your $HOME/houdini9.5 directory.
If you are working on a project with Houdini files that are double clicked on, you have the option of putting this file along side the hip files or inside a local houdini directory as $HOUDINI_PATH searches local and ./houdini directories.
HOUDINI_MAXTHREADS = 1
launch Houdini and only 1 thread is used for a fluid sim.
In the houdini textport typing:
echo $HOUDINI_MAXTHREADS
returns 1 (defaults to -1) so I know it is working in my case.
You need to put the houdini.env somewhere in the HOUDINI_PATH or in the local directory that you launch Houdini in.
If you double click on houdini files or launch from the Start menu, then this pretty much means your $HOME/houdini9.5 directory.
If you are working on a project with Houdini files that are double clicked on, you have the option of putting this file along side the hip files or inside a local houdini directory as $HOUDINI_PATH searches local and ./houdini directories.
There's at least one school like the old school!
- shiyongfw
- Member
- 10 posts
- Joined: July 2007
- Offline
Thank u michael! I created a new environment variable named “houdini_setup”,and the value is “D:\Program Files\Side Effects Software\Houdini 9.5.170\”,Which is my Houdini installed.I'm not sure it's all correct.but it seems dones't work.
Cause I never setup any environment variables in windows system,So I dont know Where I can edit it ,How the system use it?…I know there're too many things I need to know ,but you just tell me How to setup a location of JOB($JOB). For example,I hope my JOB's location is E:\Houdini_Learning.that's all right!
Thank U again!
Cause I never setup any environment variables in windows system,So I dont know Where I can edit it ,How the system use it?…I know there're too many things I need to know ,but you just tell me How to setup a location of JOB($JOB). For example,I hope my JOB's location is E:\Houdini_Learning.that's all right!
Thank U again!
- shiyongfw
- Member
- 10 posts
- Joined: July 2007
- Offline
- shiyongfw
- Member
- 10 posts
- Joined: July 2007
- Offline
- shiyongfw
- Member
- 10 posts
- Joined: July 2007
- Offline
- shiyongfw
- Member
- 10 posts
- Joined: July 2007
- Offline
- edward
- Member
- 7871 posts
- Joined: July 2005
- Offline
- shiyongfw
- Member
- 10 posts
- Joined: July 2007
- Offline
Thank you Edward!It's true I cannt setup HOME's place after i tried.
But I'm not sure i can change the JOB's place to another place such as D.
I used way from 2 pics you showed to do it ,but it still in default place,What's wrong with my did,I dont known,
If it should be edited in file houdini.env???
Thank you again!
But I'm not sure i can change the JOB's place to another place such as D.
I used way from 2 pics you showed to do it ,but it still in default place,What's wrong with my did,I dont known,
If it should be edited in file houdini.env???
Thank you again!
- edward
- Member
- 7871 posts
- Joined: July 2005
- Offline
- shiyongfw
- Member
- 10 posts
- Joined: July 2007
- Offline
- anna_waldon
- Member
- 52 posts
- Joined: March 2008
- Offline
- rafal
- Staff
- 1454 posts
- Joined: July 2005
- Offline
- graham
- Member
- 1922 posts
- Joined: Nov. 2006
- Online
Forward slashes are definitely the way to go. I found double backslashes don't work. Also, you don't want to use the $ in front of your variable name inside the houdinin.env file. For some reason it doesn't like double quotes “” either. I had to use singles '' to get it to work.
EDITOR = ‘CProgram Files (x86)/Vim/vim73/gvim.exe’
EDITOR = ‘CProgram Files (x86)/Vim/vim73/gvim.exe’
Graham Thompson, Technical Artist @ Rockstar Games
- anna_waldon
- Member
- 52 posts
- Joined: March 2008
- Offline
- ali ekber salman
- Member
- 11 posts
- Joined: Nov. 2015
- Offline
-
- Quick Links