#!/usr/bin/perl-w use strict; use win32; my $dir = "U:\\foo\\bar\\perl"; system ("dir $dir"); system ("del $dir"); # here the /s includes subtrees and /q supresses the prompt # uncomment this and you won't get the prompt! # system ("del /s /q $dir"); system ("rmdir $dir");
In reply to Re: Re: RE: Re: How can I remove a Dir?
by softworkz
in thread How can I remove a Dir?
by Delfer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |