I read and tried the code from
What is the fastest way to delete a large folder in Windows? ( rmdir /s /q folder )
rmdir /s /q folder
Delete files using the Windows command line
I want to create a package that deletes a folder whose name begins with Test_ . I have a folder D:\Test_123_19_10_2012 .
Test_
D:\Test_123_19_10_2012
How to write in batch or command line? Need a regular expression?
Thank you for your patience.
Here you go
for /d %%a in (D:\Test_*) do rd %%a /q
The for loop is necessary because rd does not seem to support wildcards.
for
rd
Source: https://habr.com/ru/post/1440757/More articles:Combining ImageView into a single bitmap (Android) - androidRefresh a column with a random value - sqlLate Authentication in OpenSSL GCM Decryption - cryptographyRestEasy client authentication and HTTP connection with marshalling - marshallingUnsupported media type requested when requesting application / json in WCF data service - jsonTypoScript random string generation - typo3Do not receive notification from NotificationCompat.Builder - android-notificationsHow will upgrading from verbose JSON to JSON light affect someone who looks only at data, not metadata? - jsonRemoving Files Using the Windows Command Line - cmdSmoothing Algorithm - c ++All Articles