in reply to Re^3: delete folder and its content with plain perl
in thread delete folder and its content with plain perl

my $result = system('rmdir', '/S', '/Q', $foldername);?

I used this, but as my $foldername path is d:\log_script\Archive I got error invalid switch - "log_script" , is that because "_" in my path?