Share via

Replace several files at once

Anonymous
2022-05-10T05:52:11+00:00

Good day everyone,

I want to replace a picture at once in several folders, is there a way to do it or not?

In more detail:

  • I have one picture (named "Safety Alert") in several different folders.
  • That picture describes last recorder injury in our production.
  • The picture is used in automatic work instruction program, which draws the picture from that folders.
  • The reason they are more then one folder is, that each family of work instructions need to have its own folder (due to coding of said program)
  • I would like to put a "Safety Alert" in each folder and update it from time to time, when something new happens.
  • But doing it manually would result in opening several hundreds of folders and replacing them one by one. At that moment it will be too much of a workload, so i would probably print them and pin them to the entrance or something simillar. But it would be so much cooler to have it at the start of each work instructions...

Can someone help me? :)

Thanks!

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

DaveM121 891.6K Reputation points Independent Advisor
2022-05-10T07:25:38+00:00

Hi Julius,

I do not know of any batch file or script to perform this task.

I am a software developer, and I do know if your co-worked coded the software correctly, he should only need to change one line of code so that Safety Alert image could be stored in a separate folder and then referenced everywhere, it is very wasteful for an image to be stored in all those folders

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-05-10T07:21:24+00:00

    Thanks for a reply!

    1. That was a great idea i didnt think of....but sadly, it didnt worked.
    2. Not at the moment. The program is developed by my coworker, so he could probably change that. But at the moment he is swarmed with different coding work of higher priority. So I was trying to find a way around I could use, without bothering him.

    Do you think, there could be some script, which could automatize that?

    Was this answer helpful?

    0 comments No comments
  2. DaveM121 891.6K Reputation points Independent Advisor
    2022-05-10T06:28:59+00:00

    Hi Julius,

    I am Dave, I will help you with this.

    Sorry no, there is no way to automate that task, to replace all instances of an image at once.

    1

    If you put the image in a separate folder and put a shortcut into one of those folders, can that software you are using see the image form the shortcut?

    2

    Is there no setting in the software you are using that you can set the location it looks for the image to just one location?

    Was this answer helpful?

    0 comments No comments