Windows paths, Java, and command-line arguments, oh my!
Daniel Dittmar
daniel.dittmar at sap.corp
Tue Sep 20 05:00:39 EDT 2005
Steve M wrote:
About your main problem: I'm still convinced that it's the order of -jar
and -D that is important, see my other post.
> I have tried (not entirely systematically but pretty exhaustively)
> every combination of backslashes in the cmd string, e.g.:
> -Dsalesforce.config.dir=c\:\\config
> -Dsalesforce.config.dir=c:\\config
> -Dsalesforce.config.dir=c\\:\config
> -Dsalesforce.config.dir=c\\:\\config
> etc.
A hint:
- if you're unsure how something must be entered as a literal, test it
in the interactive interpreter:
>>> raw_input ('enter a path: ')
enter a path: c:\config
'c:\\config'
Daniel
More information about the Python-list
mailing list