1.

Solve : Limit of number of files for which a Batch script will run onto???

Answer»

Hi all.

So, I wrote a batch that runs another exe to do stuff with other files. I copied this SCRIPT to the Windows\SendTo fodler, so I can activate my batch wherever I am, right-clicking on one or many files and then on my batch.

It WORKS in practice, BUT only up to 23 files! If I click on 24 files and then run the batch script it pops up a message saying "Windows cannot access teh device, path ou file you want. Maybe you don't have permission to access such file"

Any ideas???

tnksThere is a MAXIMUM number of file names you can use with Send To. It is much greater than 23 however. I just send 100 filenames to this batch file via Send To

Code: [Select]@echo off
echo %*
pause

But the message suggests you need to SORT out your file and folder permissions.




I hope there is something missing. However, I used many times.

It runs the batch file as a program.
That executes and terminates immediately

Once, you call the exe file on the location. It runs that. I mean batch calls.

So, it should work all the while.Hey vishuvishal, did you post a batch (ATTACH) on this thread? I did not understand your msg.
cheers



Discussion

No Comment Found