I have a few portable apps as well and I store them in a folder called Tools located in the root of my User Profile:
%UserProfile%\Tools
Some portable programs work as a single exe file while others have additional files they depend on to run - such as CrystalDiskMark - so I tend to place the folder with all its contents in my Tools folder.
%UserProfile%\Tools\CrystalDiskMark
Next you'll want to add the appropriate User environment variables:
Click Start, begin typing "environment..." and select edit the system environment variables once you see it appear > click Environment Variables button.
- Under User variables for , select Path > Edit
- Click New and add each path that is relevant for all of your
portable programs
- Click OK to accept the changes
You can leave the System Properties window open for now...
<username>
is obviously your username. It's best to Copy/Paste each path needed...
As an example, here are all the ones I have for my Tools:
C:\Users\<username>\Tools
C:\Users\<username>\Tools\CrystalDiskInfo
C:\Users\<username>\Tools\ffmpeg\bin
C:\Users\<username>\Tools\HandBrake
C:\Users\<username>\Tools\MediaInfo
C:\Users\<username>\Tools\mkvtoolnix
I've only got two tools in the root of Tools at this time: exiftool.exe and imagex.exe
These portable programs will now be available from the Command Prompt regardless of the starting path.
One additional step (optional):
You can add your Tools folder as a System variable so you can access it for other reasons using %tools%.
Under System variables, click New
- Variable name:
tools
- Variable value:
C:\Users\<username>\Tools
- Click OK
Now test out your new %tools% variable and run each program to ensure they work. If not, double check you added the full path to each executable.