Denis Fuenzalida wrote on Friday, February 10, 2006 4:18 PM: > 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.
Well, have a second look. This is exactly, what Andrew had done! Just the returned error message uses backwards slashes. > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
