create batch file to select *.txt created today and copy to other folder - TechRepublic
Question
November 3, 2010 at 12:17 AM
kanignu

create batch file to select *.txt created today and copy to other folder

by kanignu . Updated 15 years, 8 months ago

i’m trying to select the *.txt files created today in c:\users folder and then xcopy it to another folder in the system. the code i came up with is below but it doesnt run. can you help me fix the issue

forfiles /p c:\Users /m *.txt /d -0 /c “xcopy c:\Users c:\Users\kanishka /v /s /y”

This discussion is locked

All Comments