Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
The commands should be in the log file, but if you are trying to generate a "build" script there should be an option in the tool to write out a implementation script that uses the current GUI settings. I never used it, but I'm pretty sure I remember seeing the option (I haven't used Quartus in a couple of years, but I know Vivado has that option).