Skip to main content
Question

Need help to modify "Copy File from Payload" worklet to overwrite file if it exists

  • July 23, 2024
  • 1 reply
  • 47 views

Forum|alt.badge.img

I need to push an updated Word letterhead template to all users because an attorney joined the firm, but the template already exists on all machines, The existing worklet Copy File from Payload checks to see if the file already exists and skips it if it does. I don’t code, can anyone help with a worklet that would copy the file to the directory I specify and overwrite it if it already exists?

Thanks!

1 reply

Forum|alt.badge.img
  • Author
  • Rookie
  • 2 replies
  • July 23, 2024

Disregard, the worklet does overwrite the file.

 

Now the problem I have is figuring out how to specify the path .. the users path will all be different, how do I replace “tjm” with the logged in users’ username?

C:\Users\tjm\AppData\Roaming\Microsoft\Templates


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings