|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Mar 2006
Posts: 4
|
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! |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2006
Posts: 4
|
thanks
Hello Afrow UK,
I appreciate Your fast help! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|