Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!purdue!haven!umbc3!umbc5.umbc.edu!cs422122 From: cs422122@umbc5.umbc.edu (cs422122) Newsgroups: comp.os.msdos.misc Subject: Re: Question on batch files Message-ID: <4984@umbc3.UMBC.EDU> Date: 10 Feb 91 03:27:35 GMT References: <7471@jhunix.HCF.JHU.EDU> Sender: newspost@umbc3.UMBC.EDU Reply-To: cs422122@umbc5.umbc.edu.UUCP (cs422122) Distribution: usa Organization: University of Maryland, Baltimore County Lines: 43 In article <7471@jhunix.HCF.JHU.EDU> usagi@jhunix.hcf.jhu.edu (Erin Sasaki) writes: >Hello -- > > I have a Dell System 310 running MS-DOS 4.0, and I have a quick >question. I am interested in being able to delete entire directories >within a batch file - without having to type: > > del file1 > del file2 ... etc. > > So - I was going to use the command del *.* in the batch file. >However, I would like to disable the MS-DOS verify (in this case only). >Is there a quick way to do this? > > Thanks for your time. > > > -- Erin Sasaki > usagi@jhunix.hcf.jhu.edu echo y | del *.* (BE CAREFUL! This automatically answers Y to the "Are you sure?" prompt.) ############################################################################### # Mike Reese # Mail: mzr@detrick-hsc.army.mil # "Make it so!" # # US Army # Phone: (301)663-2081 # --Jean Luc Picard # ###############################################################################