Always use forward slashes, even in windows, so you can avoid misleading paths, such as: c:\this\other\some.properties -> the first '\t' gets translated as a 'tab' character
use "c:/this/other/some.properties" instead See http://javaalmanac.com/egs/java.util/Props.html for examples. Greetings, Denis 2006/2/9, Garner Andrews <[EMAIL PROTECTED]>: > By the way, I have tried using backslashes, > (e.g. F:/Platform/Apache\ Software\ Foundation/Tomcat\ 5.5/) > and I still get the following error: > 'F:\Platform\Apache' is not recognized as an internal or external > command, operable program or batch file. > > Thanks again, > Garner > > C. Garner Andrews > Enterprise Architect > CompuNet Consulting Group, Inc. > > (Phone +1-770-367-4027) > +mailto:[EMAIL PROTECTED] > > -----Original Message----- > From: Garner Andrews [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 09, 2006 5:53 PM > To: [email protected] > Subject: properties on a windows platform > > Hello all, > > On a Windows platform, when you have a long directory name that includes > spaces, what is the proper syntax to use in the properties files? My > example: > > > > From my build.properties in my user home directory: > > org.apache.jetspeed.server.home = > F:/Platform/Apache > Software Foundation/Tomcat 5.5/ > > > > Thanks, > > Garner > > > > C. Garner Andrews > > Enterprise Architect > > CompuNet Consulting Group, Inc. > > > > (Phone +1-770-367-4027) > > +mailto:[EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "And in the end, the love you take is equal to the love you make" -- The Beatles, "The End" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
