Ever since I upgraded the k1000 the users started complaining about the little black windows that popped by when running kscripts using either cscript /c or a cmd /c scripts. I found a way to easily hide the vb scripts was start using wscript vs cscript. The disadvantage is - do not have a script error or the user gets a popup.
I have found a simple vb script to hide my batch file but needed the full path to get the script to call the batch file.
the script is:
I can now call uninstalls, exe's reg changes via the bats invisible to the user without needing the path. Just needed to start the wscript call in the $(KACE_DEPENDENCY_DIR) and then it finds the bat without problems.