Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

batch script for users to abort

hi all,

im new here and got to say first PDQ is an awesome program, love it, makes my life so much easier, cant wait to use it!!!

before i roll out packages i have created nested steps to uninstall/install java/flash/firefox etc

my first step is for users to optionally abort which intern will abort the other nested packages

i have created a batch script like so -

@echo off
echo Your PC will now uninstall/install programs and after it will shutdown your PC! Press CTRL+C to abort.
ping -n 31 127.0.0.1>nul

now the trouble here is i want this to show up on the users screen, so i want it to be interactive and if they click ctrl+c it will abort the other nested packages and if they press nothing it will continue with the other nested packages

cheers

rob

0

Comments

2 comments
Date Votes