Hi, I m trying to change the env variable from the c program which inturn calls another c executable. i m using the putenv function but it does not set the value as required , it overwrites the values with some other values...
i m using following cmd's to set the env variable FULL_PATH :
sprintf(file_path,"FULL_PATH=%s",new_file_full_path);
status = putenv(file_path);