PATH options
October 16, 2022
7:46 AM
[link]


> how can i fix it
Some options
Specify the full path at the command line, e.g., [file] .
Append to the path for the current session
PATH=$PATH:/mnt/c/windows

Append to the path for future sessions by adding to your ~/.bashrc file, e.g.,
echo 'PATH=$PATH:/mnt/c/windows' >> ~/.bashrc

Edit ~/.bash_aliases and create an alias
alias start='/mnt/c/windows/explorer.exe'

If creating an alias, you can alias to whatever you prefer, e.g. explore or [file]. Personally I prefer to alias to start because it matches what you'd type at at CMD or PowerShell prompt, e.g. start . opens the current directory in File Explorer.
Share
Follow
À partir de l’adresse <[link]> 