Hi Etienne,<br>Thanks for the info. I'm now trying to implement a vbs script solution ( perl is out of the question at the moment) and i'm getting errors. How do you run a vbs script from client-local?<br>I've tried the following<br>
file:`C:\listing.vbs`<br>[WARN]: [files]: C:\listing.vbs command failed : The handle is invalid.<br>I tried this also<br>file:`cscript C:\listing.vbs`<br>and i get this error<br>[WARN]: [files]: Unknow hash type for file configuration : \listing.vbs`<br>
<br>listing.vbs is a script i borrowed from microsoft's scripting repository<br><br>strComputer = "."<br><br>Set objWMIService = GetObject("winmgmts:" _<br>    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")<br>
<br>Set colFileList = objWMIService.ExecQuery _<br>    ("ASSOCIATORS OF {Win32_Directory.Name='C:\CFusionMX\Mail\Spool'} Where " _<br>        & "ResultClass = CIM_DataFile")<br>        <br>
        For Each objFile In colFileList<br>        Wscript.Echo objFile.Name<br>    Next<br><br><br><br><div class="gmail_quote">On Thu, Apr 3, 2008 at 10:12 AM, Etienne Grignon <<a href="mailto:etienne.grignon@gmail.com">etienne.grignon@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Nick,<br>
<br>
2008/4/3, ndegz <<a href="mailto:nndegz@gmail.com">nndegz@gmail.com</a>>:<br>
<div class="Ih2E3d">><br>
><br>
> > You should use [win32] instead of   [dcstest2] in your<br>
> > client-local.cfg because in your bbwin.cfg, the configclass is set to<br>
> > win32 (<setting name="configclass" value="win32" />). Once you will do<br>
> > that, BBWin, will get the rules you have set to ignore some events.<br>
> ><br>
> Does this mean that you cannot have a client entry in client-local.cfg or<br>
> can we change the configclass in bbwin.cfg?<br>
<br>
</div>If you want to use something else than win32, then you will have to<br>
change the default configclass value in the bbwin.cfg file.<br>
<div class="Ih2E3d"><br>
>  Also the `COMMAND` config parameter in client-local.cfg don't appear to<br>
> work. I have the following entry in my client-local.cfg<br>
><br>
> file:`C:\listing.cmd`<br>
><br>
> The listing.cmd file contains the following entry<br>
>  dir "C:\CFusionMX\Mail\Spool"<br>
><br>
> hobbit-client.cfg contains<br>
> FILE %C:\CFusionMX\Mail\Spool\.* MTIME>600 COLOR=red TRACK<br>
><br>
> But all i get is a No Files Checked in the status window<br>
><br>
<br>
</div>Can you check the output of the command "dir "C:\CFusionMX\Mail\Spool"<br>
<br>
The output has to be very clean like this :<br>
<div class="Ih2E3d">dir "C:\CFusionMX\Mail\Spool"<br>
</div>C:\CFusionMX\Mail\Spool\mail1<br>
C:\CFusionMX\Mail\Spool\mail2<br>
C:\CFusionMX\Mail\Spool\mail3<br>
<br>
If you get something like this :<br>
C:\Program Files\BBWin\tmp>dir<br>
 Volume in drive C is MainDisk<br>
 Volume Serial Number is XXXX-XXXXX<br>
<br>
 Directory of C:\Program Files\BBWin\tmp<br>
<br>
20/02/2008  19:15    <DIR>          .<br>
20/02/2008  19:15    <DIR>          ..<br>
20/02/2008  17:15             6 736 bbwin.cfg.work<br>
20/02/2008  19:14             1 367 clientlocal.cfg<br>
20/02/2008  19:15               274 logfetch.status<br>
20/02/2008  19:14           208 287 msg.winxp.txt<br>
               4 File(s)        216 664 bytes<br>
               2 Dir(s)   8 418 668 544 bytes free<br>
<br>
C:\Program Files\BBWin\tmp><br>
<br>
then it won't work.<br>
<br>
You shall need to use something else than the dir command. You may<br>
write a small perl or vbscript which is more powerful than the dos<br>
commands.<br>
<br>
Best regards,<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c">Etienne GRIGNON<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</div></div></blockquote></div><br>