Archive: IfFileExists problem with parameter including whitespace


IfFileExists problem with parameter including whitespace
Hello,

I have problems with IfFileExists having a parameter which is a directory not a file and has one or two whitespace characters in it.

It simply does not work.

Could You tell me some workaround for this?

Thanks!


Put quotes around it. Also place "\*.*" at the end of the path so that it does a folder check and not a file check on the path.

e.g.
IdFileExists "$EXEDIR\dir\*.*"

-Stu


thanks
Hello Afrow UK,

I appreciate Your fast help!

:up: