G
Greg Arnold
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?
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?