Hi,
I am trying to use ${DirState} to see if a particular directory already exists.But I am getting compile error "Invalid command: ${DirState}". Here is the line of code which produces compile error.
${DirState} "C:\Program Files\MySQL\" $Dir_State
I have included FileFunc.nsh.
regards,
Jatin
${DirState} give compile error.
4 posts
What is wrong with IfFileExists "C:\Program Files\MySQL\*.*"
Stu
Stu
I just want to check whether a directory exists or not, even if there are no files in the directory. That is why I am trying to use ${DirState}
IfFileExists with *.* will actually work whether or not the folder contains files.
Stu
Stu