开发者

What is the standard environment variable used to specify a temporary directory?

开发者 https://www.devze.com 2023-03-19 13:37 出处:网络
I am writing a script that uses a temporary directory, and I would like to allow it to read the user\'s chosen temporary directory from an environment variable. What environment 开发者_高级运维variabl

I am writing a script that uses a temporary directory, and I would like to allow it to read the user's chosen temporary directory from an environment variable. What environment 开发者_高级运维variable(s) should my script look at?


Windows: %TEMP%, or %TMP% Linux: $TMP, $TEMP

Those are the most common

0

精彩评论

暂无评论...
验证码 换一张
取 消