is there a way i can do this
you can use vbscript which has better date and time support. eg
Set objFSO=CreateObject("Scripting.FileSystemObject")
Set objFolderA=objFSO.GetFolder("C:\folder")
strFolderB="C:\destination"
For Each strfile in objFolderA.Files
If dateDiff("d", file.DateCreated, Date) < 7 Then
objFSO.CopyFile strfile.Path, strFolderB
End If
Next
Set objFSO=Nothing
or alternatively , you can use GNU Win32 unix tools, like
find eg
C:\test>find c:/test -type f -mtime -7 | sed "s|\/|\\|g"
c:\test\new
you can put this inside a batch file.
also can you point some good sites with batch programming tutorials. i coulndt find much on this site
Type in "batch programming tutorials" in google for a start.