Executing commend file while BTDF deployment


hi all,

have using below code run cmd file while btdf deployment process did not executing 

 <target name="customdeploytarget">
       <exec command="..\cleancopy.cmd $(environmentname)"></exec>
  </target>

 <target name="customdeploytarget">
       <exec command=" cmd.exe &quot;cleancopy.cmd $(environmentname)&quot;"></exec>
  </target>

$(environmentname) passing parameter

cleancopy.cmd :

copy .\direct.xml  c:\biztalk\%1\clenupscript

please guide me how resolve  error 



hello,

try this

<target name="customdeploytarget">
<exec command="copygac.bat" workingdirectory="c:\test"/>
 </target>



thanks




BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to send non-standard Content-Type header ?