How to set envrionment variables in cygwin

I need that everytime I open cygwin the followin should be set:
set ROOT=/directory1/direcotry 2

Where can I do this? I dont want to type this each time.
Who is Participating?
see in cgwin's home/user directory, there is a .profile, if not create it
rohganAuthor Commented:
I have installed cygwin on XP
On normal UNIX that is done using .profile file in your home directory
If that does not work - System Properties/Environment ...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.