When I launch PS, by default I get to the user's directory and each time I have to write
cd ../../openserver/domains in cmd the same (probably, it is obvious). How can this moment be taken under control? I understand little in terminals
When I launch PS, by default I get to the user's directory and each time I have to write
cd ../../openserver/domains in cmd the same (probably, it is obvious). How can this moment be taken under control? I understand little in terminals
Everything is tightened from the PS profile. You need to create and configure your profile.
To create a PowerShell profile
Мои документы folder called WindowsPowerShellprofile.ps1 inside this folderPowerShell , the profile script will be executed.in this file you can add a transition to the desired directory
Read more in Get-Help about_profiles
Source: https://ru.stackoverflow.com/questions/615102/
All Articles