Like I said.. Without deleting/removing the actual %temp% -directory and remaking it. If I use the "del /f /s /q %TEMP%\*" it only deletes the files, not directories. And if I use "rd /s /q %temp%\" it deletes also the %temp% -directory and i"rd /s /q %temp%\*" doesn't work. Can't I do it without some kind of FOR-loop? EDIT: I coud do "dir /a:d /b > file.txt" in %temp% and then make somekind of FOR-loop for reading the names of the directories from that file and then remove them one by one. But there must be a easier way to do this! Is there??