According to Edward Lam on 3/5/2010 9:55 AM: > Corinna Vinschen wrote: >> Is that a case-sensitivity issue, perhaps? See >> http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive >> > > I don't see how it is: > > $ dash > $ cd /c > $ ls -d W* > WINDOWS > $ cd c:/WINDOWS > cd: 3: can't cd to c:/WINDOWS Let's rule out bash vs. dash complexities, and first focus on whether cygwin1.dll might be at fault. Untested code: #include #include #include #include int main(int argc, char**argv) { int e = chdir(argv[1]); char *cwd = getcwd(NULL,0); return printf ("chdir to %s: %d(%s), now in %s\n", argv[1], e, strerror(e), cwd); } That alone will give insights into whether you should even be expecting this to work. The difference between bash and dash is that bash spends more time calling cygwin conversion routines in advance of attempting chdir. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org