79678772

Date: 2025-06-25 09:15:08
Score: 0.5
Natty:
Report link

The answers above work fine f you just need to edit a regular .lnk file. I intended to use a wildcard (%USERPROFILE%) in the TargetPath, so that everyone in my OneDrive group could be able to use the same links. The native PowerShell utilities substitute this wildcard, defeating the whole purpose. If that's your case, you're out of luck, as you'll need to edit only using the GUI manually for each file. Alternatively, I could get rid of links and just have a .txt with OneDrive Hyperlinks, since relative symlinks have never been properly implemented in Windows.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Felipe Lorenzzon