MultipleCreateFileStep

Home Page Forums BizTalk 2004 – BizTalk 2010 MultipleCreateFileStep

Viewing 1 reply thread
  • Author
    Posts
    • #25649

      TestSetup /> – – C:\PurchaseOrderSystem\InputFiles\PO_002.xml C:\PurchaseOrderSystem\POIn\PO_002.xml This code works fine. I am trying to write a code , which will copy all the files from source folder(For eg: 5000 files) to PoIn folder. i tried using C:\PurchaseOrderSystem\InputFiles\*.xml C:\PurchaseOrderSystem\POIn\*.xml But it didnt worked. Will appreciate a quick reply. Thanks.

    • #25651

      Have you tried xcopy: http://en.wikipedia.org/wiki/XCOPY

      • #25660

        Any one with better solution??

        • #25661

          Can you explain what you wish to do in more detail?

          • #25704

            I am trying to write a test case for Bizunit , which will copy all the .xml files from one folder to another folder.

            below is the example for copy of one file:

            <TestExecution>
                <TestStep assemblyPath=”” typeName=
             “Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep”>
                    <SourcePath>C:\PurchaseOrderSystem\InputFiles\PO_001.xml</SourcePath>
                    <CreationPath>C:\PurchaseOrderSystem\POIn\PO_001.xml</CreationPath>
                </TestStep>
            <TestExecution>

            In this example i can only copy the file mentioned that is PO_001.xml. now i have 5000 files to copy.what should be my source path and destination path?

            Anyone can refer the code in this link: http://www.codeproject.com/KB/biztalk/BizUnit2006.aspx

             

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.