/build/static/layout/Breadcrumb_cap_w.png

Running a task bar script

Hi Guys
I am trying to run a vbs script that sets office icons on the task bar via scripts on the K1000.
I have the script working if I launched it from a desktop but I cant get it to work via the k1000.

Online KScript
I uploaded the vbs file to the 'Dependencies'

On Success I added...
Launch Program
Directory: $(KACE_SYS_DIR)
File: cscript.exe
Parameters: "$(KACE_DEPENDENCY_DIR)\taskbar.vbs

this didn't work.

I also tried...
On Success I added...
Launch Program
Directory: $(KACE_SYS_DIR)
File: taskbar.vbs
Parameters: "$(KACE_DEPENDENCY_DIR)

this didn't work either.

Any ideas please, I'm sure i have missed something?

cheers

0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: SMal.tmcc 9 years ago
Red Belt
1
look at the screen shot in this blog, I call a vbs file to run a batch.  You can just use the launch portion

http://www.itninja.com/blog/view/how-to-hide-running-a-batch-file-from-a-kscript-with-version-5-5
Posted by: vjc 9 years ago
Senior Yellow Belt
1
thanks guys got it going, was pretty obvious now...

Directory:  "$(KACE_DEPENDENCY_DIR)
File:  "C:\Windows\System32\wscript.exe
Parameters:  SetTaskbar.vbs

thanks again for your replies :-)
Posted by: LBarclay 9 years ago
Orange Senior Belt
0
Have you tried putting the commands into a batch file to run your VBS then calling the batch file from the K1000? 
 
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