Cum se configurează Cmder pentru a rula Windows PowerShell la Cmder pornire cu profilul dvs. de utilizator ca directorul de lucru în Windows prezent 10

The following steps will enable PowerShell at Cmder launch, with the path set to your %userprofile%If you have used a context menu, acest lucru nu va interfera cu funcționalitatea din meniul contextual lui.

  1. Ensure PowerShell is the default task in Cmder.
    menu -> settings -> startup
    Ensure the specified task is Powershell and then Save settings.
    CMDER startup task


  2. Navigate to your Cmder installation location and right click cmder.exe and click copy.
    Cmder install location


  3. Go to your desktop, then right click, and then choose paste shortcut.


  4. Right click on the newly created shortcut and choose Properties.


  5. Add the following to the end of the Target property after the double quote
    Cmder.exe" /start "%userprofile%"
    Faceți clic pe OK


Double click the Cmder shortcut and PowerShell will launch with your user profile as the present working directory.

You can also pin the short cut to the Start menu by right clicking it, and choosing Pin to Start.

lasa un raspuns