A few thingz


Joseph Basquin


01/08/2021

How to create symbolic links with Windows Explorer?

Quick tip: here is how to create symlinks in Windows without using any command line tool.

Create symbolic links with a GUI

1) If you have Python installed, create mklinkgui.py:

import win32clipboard    # pip install pywin32 if you haven't installed it already
import sys, os, subprocess
fname = sys.argv[1]
win32clipboard.OpenClipboard()
filenames = win32clipboard.GetClipboardData(win32clipboard.CF_HDROP)
win32clipboard.CloseClipboard()
for filename in filenames:
    base = os.path.basename(filename)
    link = os.path.join(fname, base)
    subprocess.Popen('mklink %s "%s" "%s"' % ('/d' if os.path.isdir(filename) else '', link, filename), shell=True)

2) Open regedit and

How to use it?

← Other articles

My personal blog,
Joseph Basquin (Orléans, France)

twitter
email
github

Data / AI / Python consulting and freelancing.

Articles about:
#music
#photo
#opensource
#all

Some of my projects:
BSQN Digital
BigPicture
SamplerBox
Ojourdui
Jeux d'orgues
YellowNoiseAudio