To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: argument passing in go32 Date: Sun, 12 Mar 1995 14:10:30 PST From: Marty Leisner I use aztec C as a realmode compiler. It uses: =long command line in the environment to get around the 128 byte limitation. Many other applications use response files (i.e. @name) to indicate to pull the args out of name 1) how can I set an environment variable "=some line" (I tried it on linux, putenv worked (returned 0) but I couldn't find it in there, djgcc returns some large number...) Here's the program: ain(int argc, char **argv) { int result; result = putenv("=this is a long string"); system("sh"); printf("result = %d\n"); } How can I get go32 apps to write argc/argv into a response file? (I can shove this into the environment...) marty leisner AT sdsp DOT mc DOT xerox DOT com Member of the League for Programming Freedom (http://www.lpf.org) Any sufficiently advanced technology is indistinguishable from magic Arthur C. Clarke, The Lost Worlds of 2001