hello

i have one issue i made one windows program so now i want when my exe execute with some perameter in commandprompt it generate new exe with this perameter include and if not generate new its okay that exe modified this new perameter in it so plz tell me which winapi i use for it ?????

thx