Re: AMBER: Cygwin error

From: Lili Peng <lilipeng.gmail.com>
Date: Wed, 8 Aug 2007 14:56:00 -0700

Hi Bill,

Thanks for the quick response. I tried what you suggested, and I got the
following:

$ export AMBERHOME="H:/Documents and Settings/Lili/My Documents/amber9"
$ ls $AMBERHOME
ls: cannot access H:/Documents: No such file or directory
ls: cannot access and: No such file or directory
ls: cannot access Settings/Lili/My: No such file or directory
ls: cannot access Documents/amber9: No such file or directory

$ cd $AMBERHOME
bash: cd: H:/Documents: No such file or directory.

I tried it with single quotation marks ' ' and get the same results. Then
I put quotations around each directory like:

$ export AMBERHOME=H:/"Documents and Settings"/Lili/"My Documents"/amber9
$ ls $AMBERHOME
ls: cannot access H:/Documents: No such file or directory
ls: cannot access and: No such file or directory
ls: cannot access Settings/Lili/My: No such file or directory
ls: cannot access Documents/amber9: No such file or directory

$ cd $AMBERHOME
bash: cd: H:/Documents: No such file or directory.

Again, I replaced the double " " with single ' ' and it still didn't do the
trick. Do you have any other suggestions?

Thanks for your help,
Lili

On 8/8/07, Bill Ross <ross.cgl.ucsf.edu> wrote:
>
> > $ export AMBERHOME=H:/Documents_and_Settings/Lili/My_Documents/amber9
>
> Usually there are no '_' in Windows path names. In which case you
> might need to put quotes around the path:
>
> $ export AMBERHOME="H:/Documents and Settings/Lili/My Documents/amber9/"
> $ ls $AMBERHOME
>
> Bill
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber.scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Aug 12 2007 - 06:07:19 PDT
Custom Search