0

To make my work faster, in Documents I created several .lnk shortcuts to folders I often use.

For example:

  • C:\users\mike\Documents\pp.lnk which points to folder C:\users\mike\Documents\programming\python
  • C:\users\mike\Documents\pc.lnk which points to folder C:\users\mike\Documents\programming\cplusplus
  • etc...

This is very nice because I can now open my File Explorer, type pp and click Enter and I'm immediatelly in the folder I want to be.

How can I open (cd into) the shortcut target path in PowerShell ?

I noticed that if I run > .\pp.lnk in Powershell, then target path is opened in File Explorer but this is not what I want - I want that the target path is opened in Powershell.

Thank you.

Pijavica
  • 1
  • 2

0 Answers0