2021年4月7日星期三

Batch file that edits all text files older than X days

I am very new to batch and I am wondering if it is possible to create a Batch File (.bat) that replaces text in all text files (.txt) older than x days, if so how?

Edit: I Tried This:

@echo off    echo What I Wrote> *.txt  

But I got a error:

"The filename, directory name, or volume label syntax is incorrect."  
https://stackoverflow.com/questions/66995489/batch-file-that-edits-all-text-files-older-than-x-days April 08, 2021 at 07:36AM

没有评论:

发表评论