Hi,
what should i do to check if a directory exists on my filesystem?
check if dir exists
5 posts
i included
!include "FileFunc.nsh"
and i check the dir in this way:
Invalid command: ${DirState}
why? thx
!include "FileFunc.nsh"
and i check the dir in this way:
but i get this error:
Section "main" SEC01
...
${DirState} "C:\Documents and Settings" $R0
...
SectionEnd
Invalid command: ${DirState}
why? thx
add this to your code below the include statement:
!insertmacro DirState
This 'announces' the marco you want to use.
xiris
!insertmacro DirState
This 'announces' the marco you want to use.
xiris
or just use:
IfFileExists c:\DIRECTORY\*.*
IfFileExists c:\DIRECTORY\*.*