|
From: Dick, B. E. <Bri...@FM...> - 2005-04-26 17:33:21
|
Use the short name version of the file. An easy way to get the short name is to run the following in the directory of the file. for %i in (YOURFILE) do echo %~si -----Original Message----- From: Paul Danckaert [mailto:pa...@le...]=20 Sent: Tuesday, April 26, 2005 9:53 AM To: wra...@li... Subject: [Wrapper-user] Configuration File - Space Character Question Hi, I've got wrapper working quite well in my testing thus far.. thanks for=20 a nice product! When I shifted to test my application on Windows, I=20 ran into a problem where wrapper basically blows up when a space=20 character is in a file name/path. To be fair, I don't know that this=20 is really wrappers fault, but I have a line like this: wrapper.java.additional.1=3D-Dmyapp.root=3Dd:\Program Files\My = Application\ For example, and it will simply error and not pull the whole element=20 together. I've tried variations by putting quotes around the file=20 path, the whole definition, and double quoting (which I understand is a=20 windows batch file escape to get a quote) but nothing seems to work. Does anybody have a pointer on how to solve this problem? I haven't=20 tested this on unix, but I don't normally have spaces in my directories=20 there. thanks, paul ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |