• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

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.
0
rohgan
Asked:
rohgan
1 Solution
 
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
 
ahoffmannCommented:
see in cgwin's home/user directory, there is a .profile, if not create it
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now