1. How can I start windows with a command line?Program
For example, start the Text Editor:
Enter notepad directly on the command line.
To enable other installers as well, do the following:
1. Add the installation directory of the program to the environment variable.
F: \ beyond compare added to the PATH environment variable
Every program needs this operation, which is very troublesome.
2. Create a directory: F: \ link \
Add the shortcut of the application to this directory: Any name can be used.
Then add the directory to the environment variable path.
; F: \ Link
You can use the win + r key and enter word. lnk to start
Or enter word. lnk in command line cmd to start
. Lnk is the suffix of each application shortcut
2. Start the application using powershell
Powershell is different from the environment variables used by CMD. To start some applications in powershell, you need to add the environment variables to them:
Use $ ENV: Path to view environment variables;
Use $ ENV: Path = $ ENV: path + "; F:/Link" to add environment variables.
PowercmdIt can also be used directly;