Hey, the path your program output didn't make any sense, look: dir c:/windows
Parameter format not correct - "windows". I think you meant to put a \ not a / , I bet it was that Jarva again. On Sun, Jan 2, 2011 at 12:54 AM, phil swenson <[email protected]> wrote: > well put. > > although I don't think a windows user is going to be confused by c:/foo/bar > > > On Fri, Dec 31, 2010 at 3:18 PM, Reinier Zwitserloot <[email protected]> > wrote: >> File.separator is intended only for rendering paths to the user. A windows >> user is going to be very confused by C:/foo/bar. >> It serves absolutely no purpose anywhere else, and I consider it a bug that >> this concept is not properly documented in the appopriate java doc. >> >> Feel free to mark down any erroneous use of File.separator as a cleanliness >> bug*. >> >> *) this kind of bug doesn't cause the program to fail, it just needlessly >> uglies up your code, hurting flexibility and maintainability. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "The Java Posse" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/javaposse?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
