<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi everyone,</p>
<p><br>
</p>
<p>I have to check if a directory on a windows host contains files with a specific extension.
</p>
<p><br>
</p>
<p>If it was a Unix/Linux host, i just have to write something like that i guess :</p>
<p>client-local.cfg :</p>
<p>    file:`find /path/mydir/*.tst`<br>
</p>
<p>analysis.cfg :</p>
<p>    FILE    %(/path/mydir/*.tst)    noexist</p>
<p><br>
</p>
<p>But how to do it for a Windows host? Is this possible ?</p>
<p><br>
</p>
<p>I tried this for example :</p>
<p><br>
</p>
<p>client-local.cfg :</p>
<p>    file:`cmd /c "dir /b /s C:\path\mydir\*.tst"`</p>
<p>or</p>
<p>    file:`cmd /c "dir /b /s \path\mydir\*.tst"`</p>
<p><br>
</p>
<p>analysis.cfg :</p>
<p>    FILE    "%C:\path\mydir\*.tst"    noexist<br>
</p>
<p><br>
</p>
<p>But it doesn't work :(</p>
<p><br>
</p>
<p>Regards,</p>
<p><br>
</p>
<p>Anaïs<br>
</p>
</body>
</html>