Robotic Process Automation (RPA)

Robotic Process Automation (RPA)

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Run bat file using RPA Robot

    Posted Thu July 28, 2022 02:56 AM
    Hello to all,

    I need some advice to understand which activity I should use to run .bat file using RPA Robot Automation.
    I try to use Run, Run DOS Command but errors appeared.
    If someone has experience running .bat files please share.

    Thank for your help :)

    BR,
    Ivo Stoimenov

    ------------------------------
    IVO STOIMENOV
    ------------------------------


  • 2.  RE: Run bat file using RPA Robot

    Posted Thu July 28, 2022 05:10 AM
    Hi Ivo,

    I have not any experience with starting the .BAT files, but the studio has a Run Windows Script command where you need to select the type "BAT".
    Try this option and reply what is the result.

    BR,
    Stanislav Terziev

    ------------------------------
    Stanislav Terziev
    ------------------------------



  • 3.  RE: Run bat file using RPA Robot

    Posted Thu July 28, 2022 12:16 PM
    Hello Stanislav,

    I get help by IBM Support and problem was that in my file path has space for example "C\My Folder\Folder1..." the activity do not allow to have spaces in file path when you use bat file.
    Second condition was all files needed to be  written using their full file path "C\MyFolder\Folder1\file.pdf".( like you suggested earlier)
    Last condition was all files to be in one folder but I think If we use  full paths we do not need to have them in same folder together.(I will test it later)

    bat file example:

    BR,
    Ivo Stoimenov


    ------------------------------
    IVO STOIMENOV
    ------------------------------