PC Review


Reply
Thread Tools Rate Thread

How to avoid SendTo max-param-len limitation

 
 
Guest
Posts: n/a
 
      15th Jan 2007
hello

I write a little program, that receive as parameters some filepaths and use
them. The program will be "put" into SendTo menu and be available from
RightClick->SendTo menu.

The problem is that Windows execs programs in SendTo with ShellExecute witch
can send max 2048 char in WinXP and arownd 260 in Win95. This is a very big
and unexpected limitation.

Anyone knows how to avoid this ?

All programs in my SendTo menu are subject of this limitation except
Compressed (zipped) Folder,Mail Recipient. Windows seems to avoid this limit
by creating and asociating a new extension (ex: .ZFSendToTarget) and making
some triks into the registry. But I cant figure what is going on and how to
implement something like this...

[HKEY_CLASSES_ROOT\.ZFSendToTarget]
@="CLSID\\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}"

[HKEY_CLASSES_ROOT\.ZFSendToTarget\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"


[HKEY_CLASSES_ROOT\CLSID\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}]
DefaultIcon
(default) = %SystemRoot%\system32\zipfldr.dll
InProcServer32
(default) = %SystemRoot%\system32\zipfldr.dll
ThreadingModel = Apartment
ShellEx/DropHandler
(default) = {888DCA60-FC0A-11CF-8F0F-00C04FD7D062}


i'm a little bit stuck and any help will be great ....
thanks


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SendTo: Removing Right-Click > SendTo items that aren't in any SendTo folder Opinicus Windows XP Help 0 22nd Nov 2008 08:00 AM
How to avoid SendTo max-param-len limitation Microsoft Dot NET 0 15th Jan 2007 10:00 AM
SendTo Menu is SendTo Tommie Windows XP Basics 4 18th Dec 2006 02:24 AM
Is there a page limitation / file size limitation in Word 2003? =?Utf-8?B?THlubg==?= Microsoft Word Document Management 1 28th Aug 2006 11:35 PM
SendTo items not in SendTo folder : where ? MoiMeme Windows XP General 3 1st Mar 2005 09:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:05 PM.