Ansible win_command

Hi All,
I need help in executing batch file which has some prompts.
Am using following lines of script

  • name: run an executable with custom working dir
    win_command: pisrvstop.bat /argument1 “/argument 2 with space”
    args:
    chdir: F:\Program Files\PI\adm
    async: 120
    poll: 5

it works fine but it will not answer for the prompts. How do i set the answers for prompt?