Skip to content
⌘ NSIS Forum Archive

Check if directory exist

3 posts

DEbln001#

Check if directory exist

Hi,

is it possible, to check on a custom page (not inside section) if a given directory exists?

Thank you for your help in advance.
Joel#
Did you try IfFileExists?
I think also works for folders.
Check this also: http://nsis.sourceforge.net/Check_if_dir_is_empty
DEbln001#
Thank you alot, i made it with

IfFileExists "$1\." +3 0 as you told me.

\. and \.. always exist, when folder exists.