X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: newbie question chdir Date: Fri, 23 Dec 2005 17:11:01 -0800 Lines: 30 Message-ID: References: <43A634AD DOT 1090406 AT internode DOT com DOT au> <20051219044600 DOT GA19689 AT trixie DOT casa DOT cgf DOT cx> <43A642A8 DOT 3050801 AT internode DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.2.0 In-Reply-To: <43A642A8.3050801@internode.com.au> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 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/