Technology, Web & Business Forum

You are here: Technology, Web & Business Forum : Network Management : Software : How do I define user-variables in Cygwin?


Welcome to the Technology, Web & Business Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Software Discuss networking software such as operating systems, backups, email and monitoring


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-05-2009
Junior Member
 
Join Date: Sep 2009
Posts: 3
Default How do I define user-variables in Cygwin?

Does anyone know how to define user-variables in Cygwin? Example:

setenv home /cygdrive/c/Documents and Settings/SNYP40A1/Desktop

I want to define this one someplace so that it is already loaded every time at startup.
Reply With Quote
  #2 (permalink)  
Old 09-26-2009
Junior Member
 
Join Date: Sep 2009
Posts: 3
Default

In your cygwin installation directory, there should be a directory /home/YOUR-USER-NAME. You can write a .bashrc file which contains commands and other settings for your shell. This is assuming you are using the Cygwin Bash shell..........
__________________
Mind Game
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 06:10 AM.