Space managing in command line
Mantis Issue 515, reported by sdinot, assigned to cvalladeau, created: 2012-02-09
The call to OTB commands via the command line does not handle spaces in the path. Neither ["] nor ['] are interpreted.
1328781604 - C ValladeauHi,
Have you try otbcli_ReadImageInfo.bat "d:\Datas\fond\ de\ carte\BMNG_worl d.topo.bathy.200405.3.2048x1024.jpg"?
1328782310 - vincentgNo, the carriage return comes from copy-paste in the windows command line.
1328783301 - vincentgSame problem with backslash C:\OSGeo4W\bin>otbcli_ReadImageInfo.bat "d:\Datas\fond\ de\ carte\BMNG_world.topo.bathy.200405.3.2048x1024.jpg"
Invalid module path: d:/Datas/fond ERROR: At least one specified path within "d:\Datas\fond\ de\ carte\BMNG_world.topo.bathy.200405.3.2048x1024.jpg" is invalid or doesn't exist...
1328806535 - C ValladeauThe bug appears on Linux too...
1329152191 - C ValladeauFixed here : http://hg.orfeo-toolbox.org/OTB/rev/c661ac92d6fa