Get the App
SLTechnology News&Howtos  ›  Development  › 

How to find the batch bat file of the latest file

Shulou Source: shulou.com Published: 2022-06-03 08:30:46 10月03日 Update

This article mainly shows you "how to find the latest file batch bat file", the content is easy to understand, well-organized, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to find the latest file batch bat file" this article.

The code is as follows:

Rem file update list batch cls title YIPINGSOFT CopyRight2006 rem "= =" For / r% I in (.) DO del% I\ latest file directory .txt del reference directory .txt del full directory .txt set homes=%date% date/t > > full directory .txt for / F% An in (full directory .txt) do set homes=%%A md% homes%& dir / tvec / s > full directory .txt for / f "tokens=1,4* delims="% 1 in (full directory .txt) do for / r % an in (% 2*) do if% 1 files% homes% echo% ~ fa > > latest file directory .txt For / r% I in (*. *) DO echo% ~ fi > > reference directory .txt copy latest file directory .txt% homes%&\ is all the contents of the article "how to find the latest file batch bat file" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Documents directories content articles learning help code easy to understand more organization knowledge editing industry information information channels channels updates research Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft OPPO Reno macOS NVidia vpn