does the 'kill' cmmand work for both files and folders??

Kill "C:\test.txt"

Kill "C:\folder1"

so the 2nd one would remove the folder1 alltogether?