🧡 Skip to main content🔍 Skip to search
Execute Script & Batch file

Automation Workshop includes Execute Script Action which, besides supporting other scripting formats, can execute batch file scripts automatically. The batch file examples provided are aimed at giving the user a rather general idea how to integrate batch files into the flow of automated processes.

YouTube video · Ping server regularly

The data communication with other scripts is based on screen output. The screen output of the script can be retrieved by using Variable Wizard from subsequent Execute Script Action. It is possible to retrieve either full screen output or any of the first six output lines separately.

Batch file #1

@echo off
set text=Hello world!
echo %text%

Batch file #2

@echo off
set text="Hello my example world!"

for /f "tokens=2,3" %%i in (%text%) do (
   rem Output: my example
   echo %%i %%j
)

Discover

Automation Workshop includes many more awesome Triggers and numerous Actions to aid you to automate any repetitive computer or business task by providing state-of-the-art GUI tools.

Automated Trigger · Task Scheduler
Task Scheduler
Automate Action · Compare
Compare

Assistance is here…

If you have any questions, please do not hesitate to contact our support team.