Automatically execute commands per path (e.g. via Folder Formats)

Thanks @Leo.

I’m not familiar with JScript. The script introduced in Script For Running Various Commands When Entering Specific Paths is cool, but still doesn’t provide things like regex-matching of paths, multi-line commands etc. Still, the script has almost 500 lines of code - this is not something I blindly want to copy from another user and run; and it is also not something I want to develop and maintain myself.

Thus, I don’t share your opinions that users don’t gain from a built-in solution and that the complexity of built-in vs. scripting isn’t any different.

Btw, it doesn’t need to be part of Folder Formats. Maybe a new “Folder Scripts” section would be a better fit. Folder Formats just provide nice selection mechanisms (paths, regex, content) already.