Thread Datei vorhanden? (4 answers)
Opened by simon78 at 2008-04-21 23:16

Gast Gast
 2008-04-21 23:43
#108661 #108661
ungetestet
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# !/bin/perl

use strict;
use warnings;

my $dir = "C:\\temp"; 

if(glob("$dir\\*tif")>0 || glob("$dir\\*tif")>0)
{ 
 print "Tif-files or Pdf-files available\n"; 
}
else
{ 
 print "Tif-files or Pdf-files not available\n"; 
}
exit

View full thread Datei vorhanden?