Hello, When trying to delete subdirectories and their files on WinXP SP3, the following code also removes the root directory of the subdirectories. Can I get some assistance? I want to keep C:\my\data intact but I am losing the \data folder
#
# Code to remove all files and subdirectories under C:\my\data
#
perl -e "use File::Path; rmtree('C:/my/data',{keep_root => 1, safe => 1});"
