Trish...
Keep on Truckin'...
code:
$Source = "K:\Production\Truck"
$Target = "C:\Truck"
If Exist($Target) = 0
MD $Target
Endif
$FileName = Dir($Source)

While $FileName <> "" AND @ERROR = 0
If Right($Filename,3) <> "txt" OR Right($Filename,3) <> "pbl"
$compare = CompareFileTimes($Source+"\"+$FileName,$Target+"\"+$FileName)
If $compare = 1 OR $compare = -3
Copy $Source+"\"+$FileName $Target
EndIf
Endif
$FileName = Dir()
Loop



[ 20. January 2003, 22:23: Message edited by: Waltz ]
_________________________
We all live in a Yellow Subroutine...