SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : Amazon.com, Inc. (AMZN)
AMZN 229.12-0.2%Nov 26 3:59 PM EST

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Mark Fowler who wrote (63603)6/21/1999 8:10:00 PM
From: Bill Harmond  Read Replies (3) of 164684
 
To anyone old enough to remember or current in writing DOS batch files...

I've included two lines in my autoexec.bat file that deletes all the accumulated files from my windows\temp directory each time I start Windows:

cd\windows\temp
del *.*

That's all well and good, and it works great, but DOS returns the warning message that "This will delete all the files in the directory. Are you sure? y/n" and waits for my affirmation.

Is there any switch for the delete command, or any line I can write that will answer yes automatically, and continue the boot sequence?

Thanks for any help.

Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext