• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

BAT file/Script to find and replace files

cpetty

New Member
Joined
Jul 7, 2022
Messages
4 (0.00/day)
I need a Bat file that will find and replace a power point slideshow file on a machine in the systems program start up folder then run the new file. Every month they update the slide show and we display them on TV displays.
 
What if its not a web document its a powerpoint slide we have stored on our network? Sorry for my ignorance here.
 
You should be able to pass the network path to powerpoint directly?

"C:\Program Files\Microsoft Office\root\Office16\POWERPNT.EXE" "\\wizzard\Hardware Launches\Intel 12th Gen vPro\12th Gen Intel vPro Press Pre-Brief Presentation + Appendix Final.pptx"

This just works for me
 
We decided to make these non domain machines these will display on our tv's. I did get this to work and appreciate you sending me the structure to build from.

START "C:\Program Files\Microsoft Office\root\Office16\powerpnt.exe /s" "c:\_Lobby Slides\TV Lobby Slides for June.ppsx"

Next Question is how to make this run automatically when the file name changes every month depending on the month without intervention to change the file name in the script each month. Is there a way to have it run the latest .ppsx in the folder with monthly intervention?
 
Back
Top