UtilStudio
In development

Run a program or script when a file is added to a folder

By UtilStudio, s.r.o. · Updated

Connect anything you already have to a folder: your own program, a .bat file or a PowerShell script. The service handles watching, queueing and logging.

In short: Running a program or script when a file is added to a folder means every new file is passed to your .exe, .bat or PowerShell script as an argument, and the exit code decides success. Windows Task Scheduler has no such trigger. UtilStudio is developing a Windows service that watches folders reliably, also after a restart. This action is planned to be free; it is still in development.

This product is not on sale or available for download yet. We are checking whether businesses need it, and its scope may still change.

Key facts

PlatformWindows 10 (22H2), Windows 11, Windows Server 2016 or later; runs as a Windows service
FormatsAny files; runs .exe, .bat, .cmd, .ps1
ProcessingLocally on your computer or network, no cloud
Planned licenceFree (basic edition)
StatusIn development, not on sale or available for download yet
DeveloperUtilStudio, s.r.o., Slovakia (EU), company ID 46620613
Updated5 November 2026

Why your own script is not enough

Watching a folder in your own script is easy until an event is lost, a half-written file is picked up or the script stops after a restart. The service handles these cases, and your script only gets complete files.

What the action should do

Examples

How to do it today

How the program will work

Is this your problem too?

One click tells us it is worth building. You do not enter any details.

Frequently asked questions

Which account runs the program?

The service account. It can be set to a domain account if the program needs access to network shares.

Is it safe?

The action runs with the service’s rights, so only an administrator can add it and the program marks it as sensitive.

Will this action be free?

Yes. We plan running programs as part of the free basic edition.

How do I run a script when a file is added to a folder?

On Windows, FileSystemWatcher (PowerShell or .NET) reacts to new files. To keep working after a restart and without anyone signed in, it has to run as a service and wait until each file is completely written.

Can Windows Task Scheduler trigger a task on a new file?

Not directly. Task Scheduler reacts to time, sign-in or event log entries. Watching a folder needs a script or a service.

More actions of the program