I'm working with software that can potentially open upto 5,000 files simultaneously. (Perhaps the software is flawed to do that, but its what I have to work with and there isn't an alternative). I call the .exe program from a batch file.
Windows 10 maxs out at 509 open files, but I read this can be set to 2048 using the _setmaxstdio() function. I've tried resetting the figure using python code but that didn't work - I think its because the _setmaxstdio() figure is specific to that application that uses it.
I'm thinking maybe if I call it in my batch file it would get me to circa 2048 but...
- how can I set the _setmaxstdio() in a batch file?
- would it even work as the batch file calls an .exe?