I am transfering my batch file code to C++ but encounter the limitation. How do I get around it?
My guess is, it is because C++ treat the parameter as unicode else the limitation should be 256
Has nothing to do with C++ the language; it has to do with your c library and how it's executing your command. In unix it'd be a shell issue, but I don't know how exactly system() works in windows or anything non-unix.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.