Sub DemoUnZip1()
Const D = "C:\XYZ\", S = "C:\Download\", C = ".csv"
Dim Z$, oSh As Object, F$, N$
With CreateObject("Scripting.FileSystemObject")
Z = Dir$(S & "*.zip"): If Z = "" Or Not .FolderExists(D) Then Beep: Exit Sub
Set oSh = CreateObject("Shell.Application")
Do
F = oSh.NameSpace(S & Z).Items.Item(0).Name
If F Like "???######" & C Then
oSh.NameSpace(D).CopyHere oSh.NameSpace(S & Z).ParseName(F), 16
N = D & Left$(F, 3) & C: If .FileExists(N) Then .DeleteFile N, True
.MoveFile D & F, N
.DeleteFile S & Z, True
End If
Z = Dir$
Loop Until Z = ""
Set oSh = Nothing
End With
End Sub