Talk:Get the Special Folders Directories (System plugin)
From NSIS Wiki
Jump to navigationJump to search
A usage example would make this script more useful.
I just would like to get the value of the COMMONAPPDATA - so I can create my application data directory there. Goldend (talk) 13:28, 2 January 2016 (UTC)
- This article is an example in itself, just copy paste it in your script and change
${CSIDL_HISTORY}
to${CSIDL_COMMONAPPDATA}
at the line beginning bySystem::Call
.
- To be more explicit: paste the
!define
lines at the beginning of your script, and callSystem::Call 'shell32::SHGetSpecialFolderPath(i $HWNDPARENT, t .r1, i ${CSIDL_COMMONAPPDATA}, i0)i.r0'
inside your section, you will then use the$1
var as you want. - PS: Please sign your messages by adding ~~~~ at the end. Thanks.
- -- Bugmenot (talk) 16:40, 8 January 2016 (UTC)