Get TEMP folder

耗尽温柔 提交于 2020-01-04 02:52:17

问题


How do I get the path to the Temp folder from inside an InnoSetup Pascal script? Not the folder that the setup uses as it its temporary folder (which can be accessed using {tmp}), but the actual user's Temp folder.


回答1:


You can access the TEMP environment variable using the {%TEMP} constant.

See here for details and a list of all constants.



来源:https://stackoverflow.com/questions/7318305/get-temp-folder

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!