如何在自己的程式中把 test.exe 及 test1.exe 轉做 test.dat, 之(編號:8012)

如何在自己的程式中把 test.exe 及 test1.exe 轉做 test.dat, 之後亦可把 test.dat 還原做 test.exe 及 test1.exe?