Re: newbie question chdir

2005-12-23 Thread Shankar Unni

Luke Vanderfluit wrote:

> long saga about windows

Perhaps we're having a terminology problem here.

Are you typing (literally) the string "cd c:\" as the entire input to 
bash? If so, you need to be aware that all Unix-y shells do *escape 
processing* using "\", so you have to double them up if you want to send 
them in literally.


As in

bash-3.00$ cd c:\\
bash-3.00$ pwd
/cygdrive/c
bash-3.00$

Surprise, it works.

Also, you realize that you can use *FORWARD SLASHES* on Windows, don't 
you? It's completely supported at the Win32 API level, so you can even


bash-3.00$ cd c:/
bash-3.00$ pwd
/cygdrive/c
bash-3.00$

Does this solve your problem?



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



Re: newbie question chdir

2005-12-19 Thread zzapper
On Mon, 19 Dec 2005 15:48:32 +1030,  wrote:

>Hi.
>
>Christopher Faylor wrote:
>
>>On Mon, Dec 19, 2005 at 02:48:53PM +1030, Luke Vanderfluit wrote:
>>  
>>

>
>I will study the documentation but meanwhile might need some quick help 
>here and there.
>
Help starts here

http://cygwin.com/cygwin-ug-net/

You can always do say

cd c:/temp

I also have a mount to do

cd /c/temp

-- 
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/


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



Re: newbie question chdir

2005-12-18 Thread Luke Vanderfluit

Hi.

Christopher Faylor wrote:


On Mon, Dec 19, 2005 at 02:48:53PM +1030, Luke Vanderfluit wrote:
 


I'm wondering:
I've installed cygwin in c:\foo\bar\.
Now when I open a shell, I can't cd back to C:\

Is there a way to or do I have to install everything in the root
directory?
   



Cygwin emulates linux so you shouldn't be using MS-DOS path names.  If
you want to cd to the root drive of c: use "cd /cygdrive/c".
 


I am getting the feeling that you need a concentrated session of
documentation reading.  Please go back to the cygwin web site and click
on the "Documentation" link on the left hand side of the window.  Basic
questions like this should be amply covered there.
 


I appreciate why you feel that way. Let me explain a little.
I'm in a situation where I'm more or less forced to use Windows. Company 
policy.

I've been using linux for 10 years and am quite au fait with it.
After considering many options, I decided to give cygwin a go. That way 
I can use my 'loved' programs and still comply with the company standard.


I have done some looking into the documentation and my knowledge will grow.
So thanks for your help and that of David Billinghurst.

I will study the documentation but meanwhile might need some quick help 
here and there.


Kind regards.
Luke


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

 




--
Luke


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



Re: newbie question chdir

2005-12-18 Thread Christopher Faylor
On Mon, Dec 19, 2005 at 02:48:53PM +1030, Luke Vanderfluit wrote:
>I'm wondering:
>I've installed cygwin in c:\foo\bar\.
>Now when I open a shell, I can't cd back to C:\
>
>Is there a way to or do I have to install everything in the root
>directory?

Cygwin emulates linux so you shouldn't be using MS-DOS path names.  If
you want to cd to the root drive of c: use "cd /cygdrive/c".

I am getting the feeling that you need a concentrated session of
documentation reading.  Please go back to the cygwin web site and click
on the "Documentation" link on the left hand side of the window.  Basic
questions like this should be amply covered there.

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



newbie question chdir

2005-12-18 Thread Luke Vanderfluit

Hi.

I'm wondering:
I've installed cygwin in c:\foo\bar\.
Now when I open a shell, I can't cd back to C:\

Is there a way to or do I have to install everything in the root directory?

Thanks.
Kind regards.

--
Luke


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