We already have the ${execPath} variable (the path to the running VS Code executable). Which is great.
Could you provide a new variable ${execPathFolder} with the path to the running VS Code executable folder?
This is used for variable substitution in Debugging and Task configuration files.
Some workaround exists, like this one using PowerShell but for other terminals it is not suitable.