I am new to NSIS scripting. I need to delete a folder from C:\\Users\\{USER NAME}
. Is there any constant to get this path. My application is present in user folder. $DOCUMENTS
, $DESKTOP
are not helpful for me
For Windows 2000 (and later), NSIS provides the $PROFILE
constant (see documentation ). As far as I know, any Windows environmental variable should work as well (eg %UserProfile%
), but I'd stick to the NSIS provided constants where available.
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.