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.
rohganAsked:
Who is Participating?
 
ahoffmannCommented:
see in cgwin's home/user directory, there is a .profile, if not create it
0
 
rohganAuthor Commented:
I have installed cygwin on XP
0
 
gheistCommented:
On normal UNIX that is done using .profile file in your home directory
If that does not work - System Properties/Environment ...
0
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.