delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/02/16:13:29

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
Date: Tue, 2 Oct 2001 22:12:43 +0200
Message-Id: <200110022012.WAA04941@linux.>
From: "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il>
To: cygwin AT cygwin DOT com
Subject: Re: bash 2.04 can't complete ~/name if $HOME set to c:/users/foo?
CC: cygwin AT cygwin DOT com
In-reply-to: <20011002155310.A2088@redhat.com> (message from Christopher
Faylor on Tue, 2 Oct 2001 15:53:11 -0400)
Organization: Mivtach-Simon Insurance agencies
Reply-to: ehud AT unix DOT simonwiesel DOT co DOT il
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011001192343 DOT 00a74568 AT pop DOT atg DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011001192343 DOT 00a74568 AT pop DOT atg DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011002102745 DOT 00a6df08 AT pop DOT atg DOT com> <20011002134419 DOT E12071 AT redhat DOT com> <200110021901 DOT VAA28178 AT linux.> <20011002151229 DOT A1904 AT redhat DOT com> <200110021926 DOT VAA31467 AT linux.> <20011002155310 DOT A2088 AT redhat DOT com>
X-Mailer: Emacs 20.7.1 rmail (send-msg 1.105)
MIME-Version: 1.0

On Tue, 2 Oct 2001 15:53:11 -0400, Christopher Faylor <cgf AT redhat DOT com> wrote:
> 
> When a cygwin process is first started, it translates these variables from
> MS-DOS format to UNIX format for its internal use.  In most cases, when cygwin
> execs a new process it converts these environment variables back into MS-DOS
> format so that the new process can see native MS-DOS paths.

You have missed the point, IGNORE the HOME variable it is not important.
What is important is the path/filename of the arguments.
See the following example below (no HOME there, I also omitted the -x):

EHUD-P-II-21:02:03-/etc-522# command.com /c echo /c/ehuds/tst.run /d/WIN95/SYSTEM32/DRIVERS/hidgame.sys
/c/ehuds/tst.run /d/WIN95/SYSTEM32/DRIVERS/hidgame.sys

EHUD-P-II-22:02:29-/etc-523# run-win.sh command.com /c echo /c/ehuds/tst.run /d/WIN95/SYSTEM32/DRIVERS/hidgame.sys
c:\ehuds\tst.run d:\WIN95\SYSTEM32\DRIVERS\hidgame.sys

EHUD-P-II-22:08:00-/etc-526# command.com /c notepad /c/ehuds/tst.run
       [error message box - Could not open /c/ehuds/tst]
EHUD-P-II-22:08:13-/etc-527# run-win.sh command.com /c notepad /c/ehuds/tst.run
       [editing of existing file]

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud AT unix DOT simonwiesel DOT co DOT il    http://www.simonwiesel.co.il

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019