Jump to content

Use environment variables in external tools


Merens

Recommended Posts

Hi,

We want to implement shortcut to our custom tools using Plastic global configuration system along with its externaltools configuration file. The problem is that our tools are located in a username based path and Plastic doesn't seem to be able to read environment variables pointing to the desired folders.

For example, the line in our externaltools.conf looks like this :

changeset |  Test | "%APPDATA%\Microsoft\Windows\Start Menu\Programs\SomeFolder\test.bat" | 

and prompt this error window while attempting to access the test.bat.

plastic_h6qglCNPTb.png.a9c7b89cf5fe2dc58a128924d387c3da.png

While we can still call the script with regular console command

cmd_OZlNv4AQ7D.png.51e8e395adfaaccdbf6810471ac4f40a.png

 

So the question is, is it possible to call a tool using environment variables ? 

(Moving the tools out of %APPDATA% is not really an option)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...