Mailinglist Archive: opensuse (3135 mails)

< Previous Next >
Re: [opensuse] change directorie
  • From: Martin Mielke <m_mlk@xxxxxxxxx>
  • Date: Wed, 7 Mar 2007 06:56:01 -0800 (PST)
  • Message-id: <20070307145601.29002.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi Vince,

have you tried to escape the \'s ?

something like:

    cd c:\\foo\\bar


HTH,
Martin
    


----- Original Message ----
From: Vince Oliver <vince@xxxxxxxxxxxxxxx>
To: opensuse@xxxxxxxxxxxx
Sent: Wednesday, March 7, 2007 2:49:37 PM
Subject: [opensuse] change directorie

hi All,

When I want to change directory in Cygwin I simply copy the path from 
Windows's Command Prompt or Total Commander to Cygwin command line 
like (I do that when path is very long):

cd c:\users\oliver\temp

But it does not work since it can not recognise '\'. So I have to change 
'\' into '/' every time I wanna change directory in Cygwin. Is there a 
solution to this problem?



I tried something with pipelines but no success. I tried for example:

echo 'c:\users\oliver\temp' | sed 's_\\_/_g' | xargs cd

How to properly pipeline these commands?

Thanks
Oliver
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx






 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups