----- Original Message ----- From: "Jing LI" <[EMAIL PROTECTED]> . . > It uses find to find a type of file in a directory and its subdirectories: > > my @jarfiles = split(' ',`find $bin_location -name "*.jar"`); > > But when run or debug it in Eclipse, it has error: > sh: find: No such file or directory. >
I believe that error message is being produced by your C:/cygwin/bin/find.exe - which means that find.exe is being found ok. The problem appears to be that the directory $bin_location is not being found. What does the variable $bin_location contain ? If it's a location that means something only to Cygwin (such as anything that begins with /usr, /cygdrive/c, or ~/) then it probably needs to be changed into a location that windows can make sense of. Sorry - I don't know what eclipse is. Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs