FG
💻 Software

Accessing Environment Variables in a Scheduled Task

Fresh5 days ago
Mar 15, 202627735 views
Confidence Score0%
0%

Problem

When setting up a scheduled task, for the action section I'm trying to access an environment variable for the location of the executable that I wish to run. This is mainly because on one machine the executable could be in C: on another it could be on D: I've verified that if I use a hard coded path…

Error Output

"%MyAppPath%\MyApp.exe"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Accessing Environment Variables in a Scheduled Task

Low Risk

You do not need a machine reboot. You should terminate Taskeng.exe and the next time scheduled task is run it will get an updated environment.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment