Thanks Kevin,
i guess the problem is somethere else, because
i run your script and it runs perfectly for d:
but for c: once again it does the same thing,
it prints all the contents of the folder
C:\PERL\apache\cgi-bin where all my scripts are and
files in 2 maps (backup of old scripts) which...