This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
So you want to use the Windows command line to copy a file from one place to another? That's what "copy" does; what are you trying to achieve using "jar"?
I'll move it to a more appropriate forum.
vineet kumar chaudhry
Joined: Apr 02, 2011
I have a abc.jar(It is used as archive for applet) in my folder vineet.And I a getting the position of vineet folder through getting the enviorment variable(I have set that for it).Now I am using third party api which generates some output in some directory xxx.Now I want my abc.jar in xxx
Can we copy it using ResourceAsStream or something like that ,I just want to copy jar file frome one location to another
Joined: Mar 22, 2005
So you don't want to do this from the command line, you want to do this using Java code? Searching for "java file copy" or some such term will find code to do that.