|
|
#1 |
|
Junior Member
Join Date: Jul 2009
Posts: 2
|
I want to use the folder %PUBLIC% in an installer (in Vista C:\Users\Public\), but there is no constant variable for this.
The only solution I could think of is "SetShellVarContext all", and then use the folder $DOCUMENTS\.. This works for File and SetOutPath but not for RMDir. Is there a more elegant way? Shouldn't $PUBLIC become a constant variable? |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
You could use ReadEnvStr.
Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2009
Posts: 2
|
Wow great, thanks!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|