PowerSymlink - Creates Symlinks from Context Menu ("mklink /D")
See original GitHub issuePlease add a PowerToy to create Symlinks from the Windows Explorer context menu.
For web projects, I often have to create symlinks (using mklink /D) from the command line. Having this feature in the Windows Explorer context menu will be a great time-saver.
The context menu should have two entries for this new PowerToy:
- Only, if folder/file is selected - Context menu shows “PowerSymlink - link to …”
- (Idea: Maybe it’s possible here to use the a modified version of the existing Windows “Create new Shortcut” feature.)
- The click opens a popup with title “Set Symlink destination name”.
- This popup contains a text field for the Symlink destination filename, a folder selector button, and a confirm button.
- Context menu shows “PowerSymlink - create new” (visible with or without selection)
- Implementation like the existing Windows “Create new Shortcut” functionality (See screenshot)
- If folder is selected, this folder is automatically set in the popup.
The following command is used by me normally to created symlinks on the command-line. The context menu entry for symlinks will also help to make less mistakes while creating symlinks for sure.
mklink /D "C:\Users\username\Local Sites\__CHANGE-PROJECT-NAME__\app\public\wp-content\plugins\__CHANGE-PLUGIN-FOLDER-NAME__" "C:\Users\username\Local Sites - Shared Project Data\plugins\__CHANGE-PLUGIN-FOLDER-NAME__"
More ideas:
- Popup: It should be possible to direct copy and paste of the complete path including not yet existing filename in the text field. If the file does not exits, a confirm popup asks, if you really want to create this Symlink destination.


Issue Analytics
- State:
- Created 3 years ago
- Reactions:33
- Comments:11 (1 by maintainers)
Top Results From Across the Web
How do I add a 'Create symlink' to the right mouse button ...
Specifically I want to add a command to create a symlink of the selected file/folder and place it in the destination folder. windows-7...
Read more >Onedrive context menu on virtual drive and on symlink'd files
I synchronize my OneDrive for Business storage to local drive, and often open the files with RMB -> "View Online".
Read more >Creating a Symlink on Windows 11 - Undocumented Features
Creating a Symlink on Windows 11 · Launch an elevated Command Prompt. · Run mklink /D <link target> <link source> . In my...
Read more >The Complete Guide to Creating Symbolic Links (aka ...
You can create symbolic links using the mklink command in a Command Prompt window as Administrator or as a regular user. To do...
Read more >Untitled
Drag a folder/file with right click, drop to the desired location for the link, then have the menu option "Create a symbolic link...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

There’s a tool for Windows called LinkShellExtension and it works quite well for that
maybe it is even the easiest thing to do, if you can convert a folder link into a symlink by right clicking on it.