Create a bat file

April 2, 2009 at 12:29:46
Specs: Windows XP
I need to create a bat file to delete folders inside a folder named
Temp ( C:\Documents and Settings\vperez\Local Settings\Temp ), im using XP, please somebody that can help me?

See More: Create a bat file

Report •

April 2, 2009 at 12:44:00
@echo off & setLocal EnableDelayedExpansion

pushd "C:\Documents and Settings\vperez\Local Settings\Temp"

for /f "tokens=* delims=" %%a in ('dir/s/b/ad') do (
rd /s /q "%%a"

If at first you don't succeed, you're about average.


Report •
Related Solutions

Ask Question