How do I pass data from one exe file to another exe file ?

Example :

TEST1.EXE will send the value ( 123) to TEST2.EXE

TEST2.EXE will use this value and do some stuff