Easy way in Windows to switch between two versions of an app?

I’d like to be able to switch between 433 and 440 for testing purposes — manually renaming the directories is getting old, and Powershell won’t escalate to Admin, and neither will a batch file — is there some magic trick I’m missing or some other technique to try?

Partions? Separate drive? I haven’t paid attention to where it is installed.

One can pick/choose where to install — I’m hoping to use a Powershell script (or batch file) to swap out preferences.

Windows can be a pain sometimes with files within the “Program Files” folders. It tries to protect whats there, or at least try and stop us from being stupid. If you have issues you can try moving the folders out of “Program Files” and see if that helps you.

1 Like

If you’ve written your code so it looks in its installed directory rather than a fixed path for whatever it needs, then you can put one version in one directory and another in a second, and then run each as you see fit.

If not, use a CMD or Powershell with admin privileges.

  • Right click on your command prompt and choose to run it as Administrator.
  • Put some REN(ame) commands in a couple of batch files
  • Leave the window open and run the relevant batch file. Use the up arrow to pick the one you need to run.
1 Like