In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you how to use batch processing to achieve a comprehensive search of specified files and copy to the specified location, I hope you will gain something after reading this article, let's discuss it together!
The code is as follows:
@ echo off&setlocal enabledelayedexpansion set num=0 set / p filename= Please enter the file name to find [include file extension]: set / p newpath= please enter the specified directory to copy to: if not exist! newpath! Md! newpath! 1 > nul 2 > nul set! If! zh! NEQ "\" set newpathways created newpath!\ for% an in (cd e f g h i j k l) do (cd / d% a:\ for / r. % I in (* .exe) do (if "% ~ ni%%~xi" = "! filename!" Set / a numb set 1 & & copy "% I"! newpathies%% numb files%% nul% Xi 1 > nul 2 > nul & & echo% I%% ~ nil numb% numb, start! newpathways filecopy.txt) after reading this article, I believe you have some understanding of "how to use batch processing to search a specified file and copy it to a specified location". If you want to know more about it. Welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.