Question
-
Topic
-
create batch file to select *.txt created today and copy to other folder
Lockedi’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”
All Answers
Viewing 2 reply threads