I am updating the bat file. I have a folder "A", and in this folder there is a subfolder like "B", "C", "D", this folder again has its own subfolders. my problem is that in every subfolder and parent folder there is a CVS folder, I want to delete this folder from all directories. How to do this in bat file.
Go to the place where you want to delete all CVS folders. In the window in Explorer, enter "CVS" in the search field. And press enter. Select all and delete. Now everything is done. :)
This should complete the task:
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S cvs') DO RMDIR /S /Q %%G
Try to do
cvs export -DNOW module_name
instead
cvs co module_name
Then you do not need to delete anything.
Normally you should use cvs export to get a clean copy of the course without working copy folders.
cvs export
But you can also use a for loop to delete these folders:
for
for /r /d %%f in (*) do if "%%f"=="CSV" rd /s /q "%%f"
Source: https://habr.com/ru/post/921666/More articles:Determine if ivar BOOL - iosAlgorithm for constructing a simple closed polygonal curve - algorithmHow to change the settings of Content-Transfer-Encoding mail program in Rails? - ruby-on-railsIs there a public prime table in .NET. - c #Custom Android Rating Bar Stretch Image - androidHow to handle huge form - phpSorry, we are unable to access the page you requested:https://fooobar.com/questions/921668/index.htmlSorry, we are unable to access the page you requested:https://fooobar.com/questions/921669/index.htmlAttaching a command to ScrollViewer.ScrollChanged from a ListView - wpfCheck NSPredicate NSArray if an object has one of several identifiers - iosAll Articles
https://fooobar.com/questions/921668/index.html
https://fooobar.com/questions/921669/index.html