/build/static/layout/Breadcrumb_cap_w.png

running a batch file or taskkill silently

I have a wise script to install an app.
In the Wise Script, I kill certain tasks if they are open.

I use as the command line taskkill.exe to kill those processes.

When I run the Wise Script, the install is basically silent, except for the dos command window that appears to show that certain tasks are being killed.

Is there any way I can hide that dos window to show up?

I have tried creating a batch file and using @ ECHO OFF but that did not work, I have also tried running the output of that file to >nul , still one command window does appear.

Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: brenthunter2005 19 years ago
Fifth Degree Brown Belt
0
[8D]

Have you looked into doing the same task written in VBScript utilising WMI to kill the process(es) you want?

By using VBScript you could have a completely silent way of killing those process(es).

[8D]
Posted by: WiseUser 19 years ago
Fourth Degree Brown Belt
0
I'm no Wisescript expert, but I'm assuming you're using the "Execute program" action to run "taskkill.exe"?

If so, isn't there a hidden "Window Size" option?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ