I create a simple script in command prompt, test.cmd. When i run
c:\\test.cmd myname
is your MyName [Y/n]
now i put Y or n and