* /From/: "Dave Korn" <dave dot korn at artimi dot com> They are legal, but there's no possible way to convert them to POSIX, which has no notion of a per-drive current directory.
Ok, but Cygwin != POSIX :-) Cygwin application has environment variable for each drive letter to remember current drive. See example and run it from cmd.exe. Pavel Kudrna /* file: envp.c gcc -o envp envp.c */ #include <stdio.h> int main(int argc,char* argv[], char* envp[]) { char **p; for(p=envp;*p;p++) if (**p=='!') printf( "%s\n", *p ); return 0; } C:\Program Files\cygwin\bin> cd L:\home\kudrna\test\z C:\Program Files\cygwin\bin> L:envp !C:=C:\Program Files\cygwin\bin !EXITCODE=00000000 !L:=L:\home\kudrna\test\z !S:=S:\ !T:=T:\ !U:=U:\ C:\Program Files\cygwin\bin> -- 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/