A cross-platform GUI application for creating symbolic and hard links on Windows, macOS, and Linux.
- Create symbolic links for files and folders
- Create hard links for files (where supported)
- Drag-and-drop support for selecting paths
- User-friendly interface built with Tkinter and TkinterDnD2
- Windows: Automatically requests admin privileges when needed
- Python 3.7+
- tkinterdnd2
- Tkinter (usually included with Python)
- On Windows: Admin rights required for creating links
- Clone or download this repository.
- Install dependencies:
pip install tkinterdnd2
Run the application with:
python Symlink-Creator.py
- Select the type of symlink (file or folder).
- Choose the location and name for your link.
- Select the destination (the real file or folder to link to).
- Choose the link type (symbolic or hard link).
- Click "Create Link".
- On Windows, creating links may require administrator privileges.
- Hard links can only be created for files, not folders.
- Drag-and-drop is supported for path fields.
Symlink-Creator.py # Main application script
symlink.ico # Application icon (optional)
build/ # PyInstaller build output (ignored by git)
*.spec # PyInstaller spec files
.gitignore # Git ignore rules
You can use PyInstaller to build a standalone .exe
with a custom icon:
-
Install PyInstaller:
pip install pyinstaller
-
Make sure you have your icon file (e.g.,
symlink.ico
) in the project directory. -
Build the executable with the icon:
pyinstaller --noconfirm --onefile --windowed --icon symlink.ico Symlink-Creator.py
- The
--icon symlink.ico
option sets the icon for the.exe
file. - The
.exe
will be created in thedist
folder.
- The
Note:
- The
--windowed
flag prevents a console window from appearing. - If you use additional data files, you may need to add
--add-data
options.
MIT License
*Created with TkinterDnD2