windows - How to copy war file into a particular destination using batch command? -


set src="c:/users/neonous/desktop/new folder/package/project-1.war" set dest="c:/program files/apache/webapps" xcopy %src% %dest% /e 

i tried above script copy war file. extracting , creating unwanted directories in destination location. want copy zipped file.... such project-1.war.

simple :

 copy %src% %dest%\project-1.war 

i don't know why want use xcopy if want copy file only. if want else please specify.

also use backslash" \ " separate directories , specify file name targeted destination.

hope helped,

yours mona.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -