I want to make a DOS BATCH file which asks for confirmation upon running.

When I press Y or y it executes ipconfig /release command or just quit.

Any idea.