AutoBatch/Visual Workflow & Scripting Playground

Windows Batch Automation Lab

Select Automation Recipe5 Pre-built Templates

Visual Automation Builder

Interactive node pipeline representing pure Windows batch execution flow.

Ready to Execute
Trigger#1

Double-Click Launcher

Launches script.bat

@echo off & title Workspace Launcher
Browser#2

Open Google Search

start https://google.com

start https://www.google.com
2s Pause#3

Safe Delay

Wait 2 seconds

timeout /t 2 >nul
Browser#4

Open YouTube

start https://youtube.com

start https://www.youtube.com
Browser#5

Open Gmail

start https://mail.google.com

start https://mail.google.com
Done#6

Complete & Exit

All tabs launched

echo All tabs launched! & pause & exit

Developer Playground

script.batWindows Batch File
UTF-8Windows (CRLF)Batch
Ready
Command Prompt (cmd.exe)

Click "Run Recipe" or "Run Script" to simulate Windows CMD execution.

πŸ’‘ Tip: Export and double-click the .bat file on your πŸͺŸ Windows 11 PC!

Batch Commands Quick Reference Cheat Sheet

Essential syntax and commands used in Windows .bat scripting.

@echo off

Hides command echoing so only script outputs are printed to the console.

set /p var="prompt"

Prompts the user for interactive input and stores the result in a variable.

set /a var=math

Evaluates mathematical and arithmetic expressions (addition, multiplication).

if exist file ( )

Checks if a specified file or directory path exists before executing logic.

for %%i in (*) do ( )

Iterates through files, directories, or numbers in a batch loop.

for /r %%i in (*) do ( )

Recursively loops through all subdirectories starting from the specified path.

call :label args

Executes an internal subroutine/function label and returns to the caller.

goto :label

Jumps script execution directly to a specified :label destination.

choice /c YN

Displays a single-character interactive prompt with constrained key options.

timeout /t 5 >nul

Pauses script execution for a specified number of seconds without printing prompt.

%~dp0

Built-in variable returning the full absolute path of the directory containing the script.

echo msg > file.txt

Redirects text output to a file, overwriting existing content.

echo msg >> file.txt

Appends text output to the end of an existing file without overwriting.

taskkill /f /im app.exe

Forces the termination of a running process by its executable name.

start "" "url"

Launches an application, website, or document in its default associated program.