Windows Explorer Context Menu

Alex K. Angelopoulos aka at mvps.org
Thu Dec 26 16:56:56 EST 2002


Dang...

I keep looking back, hoping that someone has an outrageously brilliant "fix",
and I don't see it.

Here IS something weird I just saw which does not fit with the concept of all
files being serialized onto a command line.  Bear with me, it takes some
explaining.

I use Outlook Express on a Windows PC for newsgroup posts, and also use the
"Rules" feature in it for sorting.  One problem is that NG posts don't have a
"To" header, and the Rules setup will not recognize a "Newsgroup:" line as being
equivalent to "To:".  I implemented a really crude hack to make this manageable:
I simply dragged about 1000 newsgroup posts out to a folder on my desktop, and
ran a script over the folder which copied the "Newsgroup:" header to a "To:"
header it inserted into the file.  Then I dragged the messages back into OE.

Here's the odd part: I did it all at once without thinking, and then realized
that I had exceeded the 2000-character buffer by a factor of about 20-30 or so.
I sat waiting for the Windows shell to choke, and it didn't - it copied every
blinking one right back into OE!

I don't know how or why, but it appears that when seen as a drop target OE is
not affected by the limit.  My hunch is that this means some kind of a shell
handler may work after all; apparently it can intercept an operation before the
shell tries to make it into a command line.



"R.Marquez" <ny_r_marquez at yahoo.com> wrote in message
news:8a27e309.0212201622.4d325189 at posting.google.com...
> Unfortunately, this won't work either, as Alex explained a few posts
> back.  But, show us what you got. :)
>
> -Ruben
>
>
> Syver Enstad <syver-en+usenet at online.no> wrote in message
news:<uel8dkfn9.fsf at online.no>...
> > A workaround, I have some registry entries that I use myself that
> > makes a .py file behave like a .exe or .bat in that you can drop one
> > or more files on it's icon and the files will be passed on the
> > commandline. Would that do?





More information about the Python-list mailing list