Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 22nd, 2018
85
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
@ECHO OFF
SETLOCAL
SET "targetdir=C:source"
SET /a retain=3
FOR /f "skip=%retain%delims=" %%a IN (
'dir /b /a-d /o-d "%targetdir%*" '
) DO DEL (DEL "%targetdir%%%a"
GOTO :EOF
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 18 min ago | 0.39 KB
Untitled
PHP | 20 min ago | 2.17 KB
dfgdrhrdj
PHP | 34 min ago | 1.74 KB
lab 10
C++ | 2 hours ago | 7.57 KB
TestingM
JSON | 2 hours ago | 1.53 KB
𝐒𝐄𝐕𝐄𝐍
CSS | 2 hours ago | 3.44 KB
CC: GhoulMonitor
Lua | 3 hours ago | 0.39 KB
Online Trainer v21
Ruby | 3 hours ago | 6.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!