473,320 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to get around command line limitation for "Send To" app?

I have created a "Send To" application that allows users to rename
files. The user selects files in Windows Explorer, right clicks and
selects Send To > File Renamer. The problem is when a large number of
files are selected, the app gives an error that says "Windows cannot
access the specified device, path or file".

I am currently testing on Windows XP. I have been able to reproduce the
problem with an "empty" command line application in both C# and C++.
Several "Send To" applications by Microsoft don't appear to have this
problem. For example, Send To > Mail Recipient for MS Outlook Express.

It is my suspicion the problem is related to the total length of
characters being passed as arguments on the command line to the
application. Any ideas on how to get around this problem?

Nov 16 '05 #1
3 2651
Nobody else has run into this problem? It is very easy to reproduce:

1) Create any application using VS.NET - I used an empty C# console app
2) Create shortcut to the app in C:\Documents and
Settings\<User>\SendTo\
3) Select many files in Windows Explorer (like 100)
4) Right-click and choose Send To > YourApp

You will get the error message. Sending that same list of files to
"Mail Recipient" for example (Send To > Mail Recipient) does not cause
the problem.

Nov 16 '05 #2
Hello, Greg!

I have the same problem as you describe and have no clue how to get around
it too.

Did you solve your problem?

"Greg Arnold" <gr**@arnoldtimes.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Nobody else has run into this problem? It is very easy to reproduce:

1) Create any application using VS.NET - I used an empty C# console app
2) Create shortcut to the app in C:\Documents and
Settings\<User>\SendTo\
3) Select many files in Windows Explorer (like 100)
4) Right-click and choose Send To > YourApp

You will get the error message. Sending that same list of files to
"Mail Recipient" for example (Send To > Mail Recipient) does not cause
the problem.

Nov 16 '05 #3
Unfortunately I have not yet found a solution to this problem. Maybe
these new messages will attract some attention. Anyone???

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Nicolas Girard | last post by:
Hi, Forgive me if the answer is trivial, but could you tell me how to achieve the following: {k1:,k2:v3,...} --> ,,,...] The subtle point (at least to me) is to "flatten" values that are...
7
by: SunRise | last post by:
Hi I am creating a C Program , to extract only-Printable-characters from a file ( any type of file) and display them. OS: Windows-XP Ple help me to fix the Errors & Warnings and explain...
2
by: Gary | last post by:
I am trying to use the "System.Windows.Forms.SendKeys" class for triggering the Ctrl+P key. Syntax: System.Windows.Forms.SendKeys.Send("^(P)"); This is not working ..what could be the...
0
by: COMantilles | last post by:
Hi, Hi created a simple function to open a word doc on server then save it to HTML, ok for the result except that i would like to save it to "filtered" HTML without office's tags (word 2002...
2
by: José Joye | last post by:
Hello, When openning a solution, all projects are expended in the Solution Explorer, is there a magic key to "reduce" all the project? Thanks, José
2
by: Martin Z | last post by:
I'm using the TableAdapterHelper to set the connection and transaction properties on all the commands of all my typed table adapters.... I've checked at the time of the error and all the commands...
1
by: test63 | last post by:
hey, how i can use "net send" command to send a message using ip address? I use windows vista home premium.
2
by: dstork | last post by:
Anyone know how to rename the "Exit Access" command at the bottom of the Office menu. I'd like to rename it to "Exit" as I had done in previous versions of Access. I know I can disable it with ...
9
by: Krumble Bunk | last post by:
Hi all, I am trying my hands at writing a shell for unix. A very rubbish shell, but nonetheless, I come to a point where I am confused. I would like to have something like shellstop xyz ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.