Bookmark Topic Watch Topic
  • New Topic

the argument C:\Document and Setting\  RSS feed

 
Kee Kee moon
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am very sorry, I reopen the new thread here.


No, it is not just a windows command. I pass the argument into eclipse IDE window and I do use double quote. When the argument comes to the java program,
I still get errors. Apparently, the space cause the problem.

Thanks a lot.



Hi,

Please help.

I pass the argument C:\Document and Setting\...... I expect my java program to execute jar tf C:\Document and Setting\xxx\xxx\xxx.jar
However, there are spaces between C:\Document and Setting\.... and it fails to get the results.

How to resolve the issue?
Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once. Please continue any discussion in the original topic.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!