id="info"

Question

Locked

How to use environment variable in windows task scheduler?

By Nitss ·
Hello!

I want to add a task in windows task scheduler (windows server). The problem is, the path of the exe is not fixed. I have created a user variable 'my_exe_path' under environment variables which has the path to the exe.

How do I schedule this exe to run daily? If I use %my_exe_path%\myexe.exe as the program to start in the task, it is not able to find the path.

Any help?

Thanks!!

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Back to Networks Forum
2 total posts (Page 1 of 1)  

Hardware Forums