dragdrop to a batch file problems never end

Microsoft Windows
Post Reply
User avatar
MigrationUser
Posts: 336
Joined: 2021-Jul-12, 1:37 pm
Contact:

dragdrop to a batch file problems never end

Post by MigrationUser »

15 Feb 2011 11:36
allal


when i try to drag 48 or more items at a time to a batch file, it gives me a permission error
and when i drag 47 items or less no error occur and the batch file continues its works normally


errorrg.png


no permission is required and i just can't know why dragging and dropping to a batch file causes those weired errors.

Last edited by allal (15 Feb 2011 13:37)

----------------------------

#2 15 Feb 2011 15:53
jeb


How long is your line with 47 files?

I assume, it's the line length limit of ~8192 bytes

----------------------------


#6 16 Feb 2011 22:05
bluesxman


I believe jeb has the right answer -- I've come across this a couple of times with a similarly unhelpful error.

cmd | *sh | ruby | chef

----------------------------

#7 17 Feb 2011 00:09
jeb


In vista you got an error message like "Der an einen Systemaufruf übergebene Datenbereich ist zu klein" - "At a sysstem call, the databuffer is too small".
The message is nonsense also in german.

I tested it, and the problems seems to be at a line limit of 2048 characters (the normal line limit is at ~8192).

The "&" seems not to be the problem at this point.

----------------------------

#8 17 Feb 2011 01:26
bluesxman


Actually "data buffer is too small" is a pretty accurate description of the problem - much more helpful than "you don't have appropriate permissions", which is total rubbish :-)

cmd | *sh | ruby | chef

----------------------------

#9 19 Feb 2011 17:28
allal


what a nasty limitation

----------------------------

#10 20 Feb 2011 16:50
allal


thanks for help i found a way to just put all items to drag in a folder
and drag this folder wich contain unlimited number of items to a batch
file,and that is easy to work with though

Last edited by allal (22 Feb 2011 10:48)
Post Reply