Hi Onyekachi, You could run the following command to set your environment variable everytime you start your Cygwin.
export PATH=$PATH:/ns-allinone-2.29/bin:/ns-allinone-2.29/tcl8.4.11/unix:/ns-allinone-2.29/tk8.4.11/unix:/ns-allinone- export LD_LIBRARY_PATH=/ns-allinone-2.29/tcl8.4.11/unix:/ns-allinone-2.29/tk8.4.11/unix/:/ns-allinone-2.29/tk8.4.11/ export TCL_LIBRARY=/ns-allinone-2.29/tcl8.4.11/library Or you could add in the above into your .bashrc file and this will advoid you from setting environment variable everytime you run your Cygwin. regards -kc ----- Original Message ---- From: Onyekachi <[EMAIL PROTECTED]> To: ns-users@ISI.EDU Sent: Wednesday, February 7, 2007 11:52:29 PM Subject: [ns] problem with setting environment variables Hello ns-users, Please I am a new user of the ns2 simulator. I just installed it (ns-2.29) without setting the environment variables properly. Anytime I try to run a *.tcl file i get the following message: 'bash: ns: command not found". Please I would appreciate a step by step approach to resolving this problem. N/B: My ns directory is *c:/home/ns-allinone-2.29/ns-2.29* Thanks. Onyekachi. ____________________________________________________________________________________ It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/