Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes  the argument C:\Document and Setting\ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

the argument C:\Document and Setting\

Kee Kee moon
Ranch Hand

Joined: Dec 11, 2009
Posts: 147
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

Joined: Jan 10, 2002
Posts: 61756
    
  67

Please do not post the same question more than once. Please continue any discussion in the original topic.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: the argument C:\Document and Setting\