Gregor J. Rothfuss wrote:

Michael Wechner wrote:

why would you want to use a colon in a filename when : is a reserved character on windows?


for instance to indicate/differentiate special files (just as for instance SVN uses .svn as dir name ...).

If it's really a reserved character shouldn't Java then throw an exception?!


again, you really don't want to use it:

http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html#pathSeparatorChar



right, I forgot about that when used in the context of classpaths or simliar situations, whereas it seems to me that Java could be a bit smarter here, as for instance "sed" is.

I guess that's why some people just do some workarounds ...

http://www.fedora.info/download/2.0/userdocs/server/serverdocs/fedora/common/PID.html

well, whatever ...

Thanks

Michi


-- Michael Wechner Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to