Answer the question
In order to leave comments, you need to log in
How to make installed programs open from any folder and not just from the folder where the program is located?
Well, how to open the installed ones as system system ones (dir cd, etc.).
Let's say I opened the console on% userprofile% wrote vlc and vlc opened.
Answer the question
In order to leave comments, you need to log in
Option 1:
System Properties->Advanced Settings->Environment Variables->Path
There is a list of all program folders separated by a semicolon.
Option 2:
In the system32 folder, create the files "program name.cmd"
in others:
or by running the code@start "" "путь к программе" %*
which will create these files for the %ProgramFiles(x86)% folder
If you want them to be executed in the same console session, then remove start ""
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question