Quantcast
Channel: CobianSoft
Viewing all articles
Browse latest Browse all 4265

Cobian Reflector • Re: Is there a way to run tasks only if a specific application is running?

$
0
0
Simply put, you can use a pre-backup control/script using tasklist or pslist.
Similar to:

for /f "tokens=1,2, 8 delims== " %%A in ('C:\TASKS\PSTools\pslist ') do (
if "%%A" == "MiAPP" (
run Backup

)
)
)

Statistics: Posted by flako666 — 21 Nov 2023, 12:52



Viewing all articles
Browse latest Browse all 4265

Trending Articles