avirostick,
If the program opens in MACH then just click EDIT , then save as a text file with a name of your choice.
I will assume that you have notepad as your default editor.
You can use the saved file for posting to this site. Suggest you find out what Fanuc gcode generated from
your program are not compatable with Mach. Usualy a program will provide a "post processor" specific for another program whch magicly changes the code such that it is usable for the recieving program.
Sorry but i know nothing about Fanuc specifcs.
I see you posted but will still post this.
RICH