LOL. Man, I'm out of it. Here's the code:
Private Sub Command0_Click()
Dim dbCurr As DAO.Database
Dim rsCurr As DAO.Recordset
Dim strFolder As String
Dim strDestinationFileName As String
Dim strSourceFileName As String
Dim strSQL As String
Dim strNewFolder As String
Dim objFso As Scripting.FileSystemObject
strFolder = "C:\Documents and Settings\Mike\My
Documents\Walfield\UnzippedImages\"
strNewFolder = "C\Documents and Settings\Mike\My
Documents\Walfield\NewProductImages\"
strSQL = "SELECT ProductID,ImageID FROM Products"
Set dbCurr = CurrentDb()
Set rsCurr = dbCurr.OpenRecordset(strSQL)
Set objFso = New Scripting.FileSystemObject
Do While rsCurr.EOF = False
strDestinationFileName = strNewFolder & rsCurr!ProductID & ".jpg"
strSourceFileName = strFolder & rsCurr!ImageID
If objFso.FileExists(strSourceFileName) Then
objFso.CopyFile strSourceFileName, strDestinationFileName, True
End If
rsCurr.MoveNext
Loop
End Sub