In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "clearing the bat script sharing of svn files". In the daily operation, I believe that many people have doubts about clearing the bat script sharing of svn files. The editor has consulted all kinds of information and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "clearing the bat script sharing of svn files". Next, please follow the editor to study!
First: more straightforward code, loop delete all SVN files in the current directory and subdirectories
The code is as follows:
@ echo on
Color 2f
Mode con: cols=80 lines=25
@ REM
Please wait while @ echo cleans up the SVN file.
The @ rem loop deletes all SVN files in the current directory and subdirectories
@ rem for / r. % an in (.) Do @ if exist "a\ .svn" @ echo "a\ .svn"
@ for / r. % an in (.) Do @ if exist "a\ .svn" rd / s / Q "a\ .svn"
@ echo cleaned up!
@ pause
Second: not as concise as the above
The code is as follows:
@ echo off
D:
CD D:/wwwroot/tws/estore/estore
: BEGIN
CHOICE / C YN / M "Run svn update"
IF ERRORLEVEL = = 2 GOTO RUNANT
IF ERRORLEVEL = = 1 GOTO SVNUP
GOTO BEGIN
: SVNUP
Echo svn updating...
Svn update
Echo svn update completed
GOTO RUNANT
: RUNANT
CHOICE / C YN / M "Run Ant"
IF ERRORLEVEL = = 2 GOTO END
IF ERRORLEVEL = = 1 GOTO ONE
GOTO END
: ONE
ECHO Run Ant...
Ant
GOTO END
: END
Echo bye...
Pause
Rmdir / s / Q and then add wildcards to the deleted path.
At this point, the study on "clearing the bat script sharing of svn files" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.