Created
February 25, 2021 01:25
-
-
Save bismarckjunior/8e91167a75eb6895d4f6288c8f721ce1 to your computer and use it in GitHub Desktop.
Script para deletar arquivos nas subpastas da pasta Temporario
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set path="D:\Servidor\Temporario" | |
del /q "%path%\*.*" | |
for /d %%i in (%path%\*) do ( | |
rd /s /q "%%i" | |
mkdir "%%i" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment