调试RPC探测问题
大石头 authored at 2023-07-05 09:56:47
498.00 B
Stardust
@echo off
set root=%cd%\..\
pushd ..\

::for /r %root% %%i in (*.pdb,*.vshost.*) do (del %%i)

::for /r %root% %%i in (obj,bin) do (IF EXIST %%i RD /s /q %%i)
::for /r %root% %%i in (obj,bin) do (IF EXIST %%i echo %%i %%~ti)
for /f "delims=" %%i in ('dir /ad/b/s .') do (
    if EXIST %%i\bin echo %%i\bin
    if EXIST %%i\bin rd /s/q %%i\bin
    if EXIST %%i\obj echo %%i\obj
    if EXIST %%i\obj rd /s/q %%i\obj
)
::for /f "delims=" %%i in ('dir /ad/b .') do (if EXIST %%i\bin echo %%i\bin)

popd