Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

How to update a file (delete the old one, rename the actual to to .old and rename the .new to be the actual .exe) no powershell?

$
0
0

Please,

I have many aplications on diferent folders (each folder for each aplication).

I need that script to run every day looking if there is a new version of the application (which will have the extension .new). If it has, it should delete the file .old, rename the actual (.exe) to .old and then rename the .new to .exe

I have more than 50 aplications to do it every day.

Thanks!


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>