On Thu, Jul 27, 2006 at 10:42:24AM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Sun, Jul 23, 2006 at 08:20:43PM +0200, Lars Gullik Bjønnes wrote: > | > Yes, but is not "consistent" with the windows environment: > | > > | > cd c:/foo/bar > | > win app -> /foo/bar is c:/foo/bar > | > | Only if you happen to be on c:. Windows has per-drive 'current working > | directories'. > | > | If you start at d:\, cd c:\foo\bar will still leaave you at d:. > | A subsequent cd \foo\bar will sent you to d:\foo\bar (if that exists). > > Aaahhh, what a wonderful world. > > (you are saying that the only way to change drive is a "cd c:" on its > own?)
Not even that. Just 'c:' changes the drive. So a 'shell' session might look as follows (stuff up tu '>' is the currend working directory and prompt): C:\> d: D:\> cd foo\bar D:\foo\bar> cd c:\baz D:\foo\bar> dir [contents of D:\foo\bar] D:\foo\bar> c: C:\baz> One current directory per drive. Using cygwin all is fine and dandy. A single root, a single wd. Andre'