delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Organization: | Esse keine toten Tiere |
To: | Cygwin Mailinglist <cygwin AT cygwin DOT com> |
Date: | Fri, 7 Sep 2001 22:24:56 +0200 |
MIME-Version: | 1.0 |
Subject: | Re: changing path for services on Win2K |
Reply-to: | cygwin AT cygwin DOT com |
Message-ID: | <3B994938.13815.11A62456@localhost> |
In-reply-to: | <2fchptkump7c87vq2nlk1d8mu0cfu4eleb@4ax.com> |
X-mailer: | Pegasus Mail for Win32 (v3.12cDE) |
X-Hops: | 1 |
X-Sender: | 320081107336-0001 AT t-dialin DOT net |
Mark Himsley schrieb am 2001-09-07, 12:47: >Hi, > >I don't know if this is just my lack on knowledge on Windows NT platforms, >but how do I change the value of the PATH environment variable which >services like inetd, sshd, crond etc... use. > >I have altered the system PATH variable in "My computer | Properties | >Advanced | Environmental Variables" and stopped & restarted those services >but they don't seem to pick up the change until a reboot occurs. > >I suspect its just a Windows thing, but I was wondering if I had missed >something. > >Thanks in advance. I suggest if you're changing the PATH setting, you need to 1. reinstall the service or 2. reboot Other option is to give it as an option to cygrunsrv, so it depends not on the environment settings. Useful for setting CYGWIN=tty binmode ntsec and maybe PATH=/bin:... if you need some other directories. $ cygrunsrv --help Usage: cygrunsrv [OPTION]... [...] Miscellaneous install options: [...] -e, --env <VAR=VALUE> Optional environment strings which are added to the environment when service is started. You can add up to 255 environment strings using the `--env' option. Note: /bin is always added to $PATH to allow all started applications to find at least cygwin1.dll. [...] Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |