Executes the command then closes the command prompt.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> John Deretich
> Sent: Wednesday, November 12, 2003 1:55 PM
> To: 'Roy Sprague'
> Cc: Perl-Win32-Admin-Request (E-mail)
> Subject: RE: removing nonempty directories
> 
> 
> Hi Roy,
> 
> I was just wondering.
> I know rd is remove directory with
> a /s and a /q option, but what is cmd /c?
> 
> thanks,
> 
> John
> 
> -----Original Message-----
> From: Roy Sprague [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2003 11:39 AM
> To: 'John Deretich'; Perl-Win32-Admin-Request (E-mail)
> Subject: RE: removing nonempty directories
> 
> 
> `cmd /c rd /s /q j:\\test\\test1`;
> 
> -----Original Message-----
> From: John Deretich [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, November 12, 2003 1:56 PM
> To: Perl-Win32-Admin-Request (E-mail)
> Subject: removing nonempty directories
> 
> Hello,
> 
> I just wanted to find out if anyone knows how to remove a
> non empty directory. Say for example, J:\test\test1.....
> just remove only test1 and any subdirectories below it,
> not the entire contents of the J: Drive.
> 
> 
> thanks,
> 
> John
> _______________________________________________
> Perl-Win32-Admin mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> _______________________________________________
> Perl-Win32-Admin mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
> 
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to