/build/static/layout/Breadcrumb_cap_w.png

Word Ribbon Template

I am interested in distributing a Word Ribbon Template that I updated to all of my Windows 10 user's PCs. I have created a batch file that runs fine outside of KACE, however, when I attached the file as a dependency in KACE, it claims that it has run and is completed, but it hasn't and is not updating.

The file is to Word Template Ribbon Add-In.dotm is to replace the current file in the user's Startup Directory.

Here is the Batch file:

rem Opens Word, Replaces Template Ribbon Add-In Located in Startup Directory
echo off
Copy  "\\MyServerName\Word Templates\Template Ribbon Add-In.dotm" %USERPROFILE%\AppData\Roaming\Microsoft\Word\Startup /y
rem pause

Here is my KACE Script:

Launch $(KACE_DEPENDENCY_DIR)\WDTRUP.bat with params .


Any and all assistance is welcomed as this is my first (1st attempt) at trying something of this magnitude, if it can even be accomplished.

Thanks for your help.




0 Comments   [ + ] Show comments

Answers (1)

Posted by: jdunn83 3 weeks ago
White Belt
0

What if you do an XCopy?


XCopy  \\MyServerName\Word Templates\Template Ribbon Add-In.dotm "%USERPROFILE%\AppData\Roaming\Microsoft\Word\Startup" /y

Don't be a Stranger!

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

Sign up! or login

View more:

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