Created
March 25, 2017 06:24
-
-
Save mebiusbox/1d7e7002ba37f4d30b6e6c98771122f2 to your computer and use it in GitHub Desktop.
Copy the dropped files as image element of markdown to clipboard for boostnote on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enabledelayedexpansion | |
for %%f in (%*) do ( | |
set fullpath=%%f | |
set /P<NUL="^![%%~nxf](!fullpath:\=/!)"|clip | |
) | |
endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment