FG
💻 Software

Adding an .exe to default path without adding the directory

Fresh6 days ago
Mar 15, 202620199 views
Confidence Score0%
0%

Problem

For example, I want to add notepad++ to my PATH, however the directory also contains and several other files/executables and I don't want them to "pollute" my path. Can I just add the one ?

Error Output

uninstall.exe

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Adding an .exe to default path without adding the directory

Low Risk

You can add a batch script to a directory that is in your path, that looks something like this: You can name it . The help section allows you to easily get information on the switches. I put all such scripts and command line programs in a directory …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment