Quantcast
Channel: Tech Support Forum - Windows 7 , Windows Vista Support
Viewing all articles
Browse latest Browse all 8389

copy yesterday's file daily with the dos command/batch file

$
0
0
Hi Guys,

I want to make one batch file which daily copies yesterday's files from one folder & paste it to another folder.

I.e.
C:/111 folder has following files.
1.zip had yesterday's date
2.zip had yesterday's date
3.zip had last sunday's date

now, when i will run batch file today, it only copies 1.zip & 2.zip & move to another folder C:/222

So C:/222 contains following
1.zip had yesterday's date
2.zip had yesterday's date


Please note , i have to run this batch file daily which should not require any changes.

Viewing all articles
Browse latest Browse all 8389

Trending Articles