szucs
8th March 2006 18:37 UTC
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!
Afrow UK
8th March 2006 18:49 UTC
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
szucs
8th March 2006 20:22 UTC
thanks
Hello Afrow UK,
I appreciate Your fast help!
:up: