Digital Exchange

 View Only
last person joined: 15 hours ago 

This community is a place to discuss Blue Prism DX assets and development.

  • 1.  Pass Dynamic Argument to Batch File

    Posted 08-03-2021 08:36
    Hi Community,

    I am Running Batch file from Blueprism using Utility: Environment --> Start Process Action
    Application : "cmd.exe"
    Argument: "/C C:\Users\....\test.bat"

    Batch file Content:

    cd /d T:\FolderABC
    dir /s /b /o:gn >list.csv  

    It is running Perfectly Fine

    What I need to do is I want to pass folder name Dynamically from BP Process
    I can make the content of file like below 

    cd /d T:\{0}
    dir /s /b /o:gn >list.csv

    Hence I wanted to know if there is any way to replace {0} with FolderName in batch file from Blueprism

    Kirtish Trivedi

  • 2.  RE: Pass Dynamic Argument to Batch File

    Posted 08-03-2021 08:49
    Hi Kirtish,

    You create your own BAT file using "Write text file"where you can pass the variable.
    Post that you can run it.

    RPA Consultant

  • 3.  RE: Pass Dynamic Argument to Batch File

    Posted 08-03-2021 10:28
    Thanks Murali Kodi. This Idea Works

    Kirtish Trivedi

  • 4.  RE: Pass Dynamic Argument to Batch File
    Best Answer

    Posted 08-03-2021 12:38
    create batch script as "cd /d T:%1" you can run the batch script using utility environment start process and pass the folder name in argument

    an example batch script and BP action is shown below


    Jerin Jose
    RPA Product SME
    *"If you find this post helpful mark it as best answer, .*

  • 5.  RE: Pass Dynamic Argument to Batch File

    Posted 08-03-2021 13:32
    Cool, I believe this is the best option

    Emerson Ferreira
    Sr Business Analyst
    Avanade Brasil
    If my answer helped you? Mark as useful!

Welcome to the Blue Prism Digital Exchange Community!

The Blue Prism Digital Exchange is a "shop window" for new and emerging technologies—a platform that puts powerful RPA and AI capabilities into the hands of business leaders. Users can find and apply pre-built AI capabilities, in the form of downloadable integrations and Visual Business Objects (VBOs), to automated processes. These assets connect and integrate Digital Workers, existing systems and processes to Blue Prism's technology partners, creating a solid foundation of AI-enabled Intelligent Automation that's scalable and sustainable.

Blue Prism Digital ExchangeDX Asset IdeasContact DX Support


The Blue Prism Digital Exchange (DX) is an online marketplace where businesses can instantly access, apply and share pre-built AI, cognitive and advanced RPA technologies from best-in-class providers. These assets easily connect to existing digital workers, systems and processes to enhance automation capabilities.
The Digital Exchange is free to all users. Most of the content on the DX is free to download but there are some submissions that do have a cost associated. The submissions with a cost are advertised on the asset card and profile. No unwanted costs will be applied to any users.
You can visit and browse the Digital Exchange here. If you would like to consume or download any material it is necessary to create an account on the Blue Prism Portal first.
Everyone can access the Digital Exchange and consume the assets on it. If you would like to contribute to the marketplace it is necessary that you create an account and sign up as a partner.