C++ "system( )" parameter length limitation!!! (128 char)

Stalker

Member
Oct 9, 1999
193
0
0
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
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
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.