Answer the question
In order to leave comments, you need to log in
How to create an abbreviation for a folder on the command line?
Hello, I have a question: If you set a folder with a program in the PATH variable of the system, then the program can be launched from the command line without specifying an absolute address. Is it possible to make such a trick for a folder, for example, or for other commands? To write cd WebProject instead of cd C:\Users\Seva\Documents\WebProject. Win7 system.
Answer the question
In order to leave comments, you need to log in
And if you use SUBST, it will be even shorter.
For example, give the folder C:\Users\Seva\Documents\WebProject the drive name W:
For WIN, there are GUIs that allow you to conveniently prescribe such substitutions at system startup.
For example, VisualSubst
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question