I want a batch file that deletes the full content of a directory.
The directory is called "T" and is used for temp purposes. Every night this batch file has to delete the content of this drive, T, including sub directory's.
This is what i searched for on the net:
del /q /s T:/
for /d %%a in (T:/) do rd /s /q "%%a)
But it is not working... can anyone please help me?