Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <20050609081128.GC19050@calimero.vinschen.de> References: <20050609081128 DOT GC19050 AT calimero DOT vinschen DOT de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: From: Oliver Geisen Subject: Re: Directory c:\%USERPROFILE% created Date: Mon, 13 Jun 2005 16:16:18 +0200 To: cygwin AT cygwin DOT com X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j5DEGE0a010455 Hi, >> i was wandering about strange folders created in the root directory of >> my Cygwin-Enhanced PCs and found out >> that everytime i start installer programs from within a cygwin shell, >> a >> folder called %USERPROFILE% is created >> in the base directory of the pc's harddisk. > > Sure it's not something you're doing? The variable is certainly > available when running the shell with cygwin.bat. And even when > starting, say, tcsh directly from explorer, the variable is there, > right in the environment. I tested this again. After starting a "local" bash (local means i start it via doubleclick from within windows) i can see a "USERPROFILE" env.-var. If i do this in an bash started remotely (via sshd) i can't see it anymore. So i think this variable comes from Explorer of whatever and is not initialized within a ssh-shell session. This is also reflected by "cygpath -D" which outputs "/cygdrive/c/%USERPROFILE%/Desktop". I found no trace where this var is set, so please give me a hint. Thanks, Oliver Geisen --------------------------------------- Systemadministrator Kreisboten Verlag Mühlfellner KG Telefon: 0881/686-63 Telefax: 0881/686-74 Mail: technik AT kreisbote DOT de --------------------------------------- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/