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
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

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
Answered 08/06/2014 by: SMal.tmcc
Red Belt

Please log in to comment
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 :-)
Answered 08/06/2014 by: vjc
Yellow Belt

Please log in to comment
0
Have you tried putting the commands into a batch file to run your VBS then calling the batch file from the K1000? 
Answered 08/06/2014 by: LBarclay
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share