I
I
Ilya bow2017-04-17 18:46:19
Windows
Ilya bow, 2017-04-17 18:46:19

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

2 answer(s)
A
Alexander, 2017-04-17
@8889996

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 ""

L
lukoie, 2017-04-17
@lukoie

path? no, have not heard

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question