Subj : Re: Deleting dirctories from DOS? To : Art Prest From : CBFalconer Date : Thu Dec 06 2001 12:37 am From: CBFalconer Art Prest wrote: > "Charles Dye" wrote in message > > wrote: > > > > >Its been a long time since I did much in DOS. I need to delete some > > >directories from DOS and can't remember how. > > > > Assuming that you are in fact using 4DOS, you can destroy entire > > directories with the internal DEL command: > > > > DEL /SXZ C:\VICTIM\*.* > > > > will nuke the entire directory C:\VICTIM directory and all that > > it contains. > > > > If you are not using 4DOS (and you're posting to this group > > in error) then your best bet is probably the DELTREE command, > > included with MS-DOS and PC DOS version 6 and later: > > > > DELTREE C:\VICTIM > > > > Danger, Will Robinson! Careless use of either of the above > > commands can wreak unspeakable havok. > > Thanks, I'll try that since I am using 4DOS and DELTREE is not an option - > which I had tried before I realized that. Deltree should be available in your \windows\command directory. Maybe you removed it from your path. However, it won't keep the jpsindex file up to date, so I have an alias: alias deltree=del /s /x /z which hides the uSoft one, and does the job. -- Chuck F (cbfalconer@yahoo.com) (cbfalconer@XXXXworldnet.att.net) Available for consulting/temporary embedded and systems. (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce@ftc.gov (for spambots to harvest) --- BBBS/NT v4.01 Flag-2 * Origin: Mach2 Systems (1:342/3) .