Batch File - Taskkill error hide

Discussion in 'Software' started by ashrok, Jan 11, 2012.

  1. ashrok

    ashrok Private E-2

    Hello! :)

    I am running a DOS batch script in Windows XP/7 and want to know how to hide error messages when the script runs not to alarm the end user. For example, part of by batch has this...

    taskkill /f /im Updater.exe

    and when it runs it reports this error below when the application (Updater) is not open...of course if it is open the error is never seen...

    ERROR: The process "Updater" not found.

    How can I hide this error in the batch script so the end user does not see it when runs? (So as not to alarm them, and get asked silly questions).

    Thanks...
     
  2. ashrok

    ashrok Private E-2


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds