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
Post a Comment