/build/static/layout/Breadcrumb_cap_w.png

cmd window when running online shell script

I remember seeing something about this somewhere, but i can't seem to find it now. I have a couple of Online Shell Scripts targeted to Windows computers that, when executed while someone is logged in to the machine, display an empty cmd window while the script is running. I would like the execution to not interrupt/confuse our users.

server: 5.3.47927
client: 5.3.47657

Thanks in advance!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: GillySpy 13 years ago
7th Degree Black Belt
1
If you open the xml editor of the script and change the type from job/ policy to something else (e.g. hidden) then it should hide that prompt
Posted by: ncsutmf 13 years ago
Green Belt
0
We were using an online k-script that was calling "cmd.exe /c" and an uploaded dependency .cmd script. This was also bringing up a blank cmd window, even if we had echo statements in the .cmd script. I tried editing the xml for this and I still get 2 cmd windows popping up, but I think that may be because commands that are running within the .cmd script because I think there were 3 windows before.

However, I tried the online shell script as the original poster was using just to see if it made a difference and I don't see an option to edit the XML when that type of script is selected.
Posted by: cmccracken 13 years ago
Orange Senior Belt
0
One "gotcha" for the offline kscripts. If you edit the xml, it will delete your batch file dependency (ex. kace6565.bat). If you try to re-upload the same batch file (from your kbot-cache) it will not allow you to upload it. To fix it, rename your batch file, and edit the script to use the new name.

Beyond that, it works great.

Casey
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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