TechieGuy12 / FileWatcher

A file and folder monitor that can send notifications, perform actions, or execute a command when a file or folder is changed.
MIT License
117 stars 32 forks source link

Environment variables in watch path #46

Open lordlightman opened 6 hours ago

lordlightman commented 6 hours ago

Hello, I'm trying to use environment variables in watch path, but they are not recognized.

From the logs:

2024-11-16 22:23:26 INFO The path '[env:USERPROFILE]\Downloads' does not exists, so the watch was not created.
2024-11-16 22:24:16 INFO The path '%USERPROFILE%\Downloads' does not exists, so the watch was not created.

Are environment variables in watch path supported?

TechieGuy12 commented 6 hours ago

The watch path does not support environment variables.

It could be something I can look at implementing, though.