Yes. Assuming you are using a real DOS distribution (NOT the NT/WIN2K/XP command prompt), probably the simplest way is to use the deltree command with the /y option ("assume 'yes' to delete requests"). So, for example, instead of using:Is there a way to get my program to automatically enter a y then enter this value.
Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.
If you're not already familiar with forums, watch our Welcome Guide to get started.
Join over 807,865 other people just like you!