Windows Drag and Drop

19 views
Skip to first unread message

Dan

unread,
Sep 4, 2009, 11:32:29 AM9/4/09
to MultiMarkdown Discussion List
This is not rocket science, but in case anyone doesn't know this...

Here's a simple way to enable drag and drop for MMD on Windows. Create
a desktop shortcut with the following target property:

<path_to_your_perl_exe> <path_to_the_mmd_script> %1

Mine looks something like this:

C:\strawberry\perl\bin\perl.exe "C:\Documents and Settings\Me\My
Documents\MultiMarkdown\bin\mmd2XHTML.pl" %1

The "Start in" property should be the path to your Perl bin directory.
Mine is:

C:\strawberry\perl\bin

Now just drag an .md file to be converted and drop it on the shortcut.
The output html file will be in the same directory as the .md file.

Fletcher

unread,
Sep 23, 2009, 12:35:48 PM9/23/09
to MultiMarkdown Discussion List
These are the things I forget after not really doing any programming
for Windows in about 15 years....

Is there a way to write a quick shell script to generate one shortcut
on the desktop for each perl script in MMD/bin? In other words, is
there something we can create to make this really easy for non
computer types to do on their machines?

Or, could I create a set of shortcuts for most common perl locations
(if there is such a thing) and zip them for distribution? Would
shortcuts survive the trip?


Thanks for pointing this out!

F-
Reply all
Reply to author
Forward
0 new messages