vorrei contare i files che ci sono in una directory, sul forum l'ho trovato solo in php:
codice:
<? 
$dir="/var/www/prove/"; 
$fileopen="file.txt"; 

if ($handle = opendir($dir)) { 
 $count=0; 
 while (false !== ($file = readdir($handle))) { 
  if($file!="." && $file!="..") { 
   $count++; 
  } 
 } 
} 

$file = fopen($fileopen, "w"); 
$stringa="Totale=".$count; 
fwrite($file,$stringa); 
fclose($file); 
?>
in asp come diventa?
grazie