# how to handle y/n response in .rsc script

**URL:** <https://forum.mikrotik.com/t/how-to-handle-y-n-response-in-rsc-script/37083>\
**Category:** Scripting\
**Created:** [April 19, 2010, 4:54pm UTC](https://forum.mikrotik.com/t/how-to-handle-y-n-response-in-rsc-script/37083 "2010-04-19T16:54:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![samcarney](https://forum.mikrotik.com/letter_avatar/samcarney/32/6_449c533f586939b6e5f246632a46421f.png) [@samcarney](https://forum.mikrotik.com/u/samcarney)\
**Post date:** [April 19, 2010, 4:54pm UTC](https://forum.mikrotik.com/t/how-to-handle-y-n-response-in-rsc-script/37083/1 "2010-04-19T16:54:33Z")

</div>

So i have a basic script in .rsc file that I drag and drop. Through terminal I type “import scriptx”  
When it gets to end of script it ask " Are you sure you want to upgrade y/n"  
How can I include “Yes” in the script so the script doesn’t halt?

Help is much Appreciated!  
Thanks

---

_[View the full topic](https://forum.mikrotik.com/t/how-to-handle-y-n-response-in-rsc-script/37083)._
