AMBER Archive (2007)

Subject: Re: AMBER: Cygwin error

From: Lili Peng (lilipeng_at_gmail.com)
Date: Wed Aug 08 2007 - 16:56:00 CDT


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_at_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_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu