Python and Windows users may be interested in a small application I created to help me write technical documents. I found myself needing to place directory listings into a Word document, and, getting bored of redirecting dir in a command window, I wrote a small Python application and put a shortcut to it in my sendto menu:
import sys, os, win32clipboard, win32con
files = os.listdir(sys.argv[1])
files.sort()
win32clipboard.OpenClipboard()
win32clipboard.EmptyClipboard()
win32clipboard.SetClipboardText(os.linesep.join(files))
win32clipboard.CloseClipboard()
To put it into my sendto menu (C:\Documents and Settings\{username}\SendTo), I create a shortcut to it, and altered the target to:
C:\Python25\pythonw.exe "C:\Path\To\filelisttoclipboard.pyw"
Note that for this to run you must have Python, and the win32 Python library installed.