home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 April / CHIP_CD_2005-04.iso / software / netv / NVinst.exe / $INSTDIR / Scripts / Scripter / ClearCachedResources.nvs next >
Encoding:
Text File  |  2005-02-22  |  301 b   |  19 lines

  1. {
  2. This script clears all cached resources lists
  3. }
  4. var hst:TNVHost;
  5. begin
  6. hst:=TNVHost.create;
  7. hst.nextid:=0;
  8.  repeat
  9.  hst.GetHost(hst.nextid,0);
  10.  if(hst.id<>0)then
  11.   begin
  12.   hst.SetMetaVar('!ftpcache','');
  13.   hst.SetMetaVar('!nbcache','');
  14.   end;
  15.  until hst.nextid=0;
  16. hst.Free;
  17. end.
  18.  
  19.