简体   繁体   中英

What does %VARIABLE% means?

At many times I see %VARIABLE% (%PYTHON% for exemple) in questions and answers here in Stack Overflow.

I know that this is kinda vague question but I would like to know the meaning of %VARIABLE% more clearly.

Thanks in advice.

The answer probably depends on the author and context;-)

MS Windows console environment variables are delimited by % , so if you saw this in a windows batch script that's most likely a reference to an environment variable of the given name.

In the absence of any context I'd guess your particular example %PYTHON% probably means "the filesystem pathname to the Python interpreter", but perhaps the post in question is setting it to something else in context.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM