Ok, appears to work only on FILES including all the files from subdirectories.

But the folder still there frown

i.e.

c:\TEST\
c:\TEST\FOLDER1
c:\TEST\FOLDER1\test.txt
c:\TEST\FOLDER1\test2.txt
c:\TEST\FOLDER2
c:\TEST\FOLDER2\test1.txt
c:\TEST\FOLDER2\test2.txt
c:\TEST\FOLDER3
c:\TEST\FOLDER3\test1.txt
c:\TEST\FOLDER3\test2.txt

Want to script something that completely remove C:\TEST folder along with the rest of subdirectories and files.

Thx

Last edited by colt45; 17/09/09 10:12 PM.