[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

batch file make it answer yes

Posted on 2004-11-17
1
Medium Priority
?
501 Views
Last Modified: 2006-11-17
How can I make my batch file answer yes to a del *.* line?  I'm trying to clear my badmail folder with a script and task, but it gets stuck on the yes answer.
0
Comment
Question by:kgbsd
1 Comment
 
LVL 20

Accepted Solution

by:
Dufo G. Belski earned 200 total points
ID: 12605227
Try:

echo y| del *.*
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
Loops Section Overview
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month19 days, 17 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question