473,652 Members | 3,070 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2664
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**@arnoldtim es.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.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
14251
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 lists. Thanks in advance,
7
911
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 how to use Command-Line Arguments inside C program.
2
6256
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 reason..? Situation: I have a menu in my form, which is given a short key "Ctrl+P", now when the
0
1683
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 function). It might be only the number at the end of this command line to change, but wich is right ? objWord.Application.ActiveDocument.SaveAs strHTMLDoc, 8
2
1265
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
17862
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 have their Transaction property set. But I still get this error when I call... documentTA.Update(documentDS.Document); "ExecuteReader requires the command to have a transaction when the connection assigned to the command is in a pending local...
1
1850
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
3998
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 <commands> <command idMso="FileExit" enabled="false"/> </commands> .... but what about renaming it?
9
2205
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 whereupon the command "stop" will take the argument "xyz" and perform
0
8703
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4145
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2703
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.