Archive: get special folder


get special folder
Hi,

I have few questions

1) I need to obtain the folder "C:\Documents and Settings\<current user>\Local Settings\Application Data"
How can I obtain it in NSIS?

2) How to check if the specific file exist?

3) How to check the size of the file?


Thanks


1. What is wrong with $LOCALAPPDATA after SetShellVarContext current?

2. IfFileExists

3. Search the Wiki for "file size".

Stu


1. Nothing wrong, works perfectly. :)
2,3. Thanks. NSIS is easy, but it's documentation is terrible.

I'm so glad there is this forum. :D


What in your view would make the documentation better than it is now?

Stu


Most of the time, I find the documentation is good and concise.
Longer texts would not be good if they don't add new information.


i think the documentation of NSIS is perfect...


Originally posted by Afrow UK
What in your view would make the documentation better than it is now?
Navigation I guess. It's very hard to find what I want. This applies to Wiki and FAQ as well. IMO. Even searching for an answer trough this forum is more friendly.

Perhaps a good search facility for the docs would be a great improvement for it.

What you should do is take a look through the entire scripting reference and then you'll know what you have available.

IMO I don't think it could be made any better, unless it had human voice recognition and a human brain USB device.

Stu