--- Quote Start ---
can i run the TCl script via command prompt ? if yes , what is the command that operate TCl script ?
i need to write a script that create the QSF file according to the user requirements (pin assignments , current strength , I/O standard , slew rate , etc...)
and i need to send those requirements to the script from the C# GUI .
--- Quote End ---
This tutorial uses Tcl scripts for synthesis and simulation;
http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial as do the other example zip files downloadable from here
http://www.ovro.caltech.edu/~dwh/correlator/cobra_docs.html Take a look at them.
The Tcl scripts create a Quartus project, which includes the .qpf file and the .qsf file. Using Tcl allows you to consider these files as "generated" and as such you can ignore them (much like a C programmer does not care about .o files, they're just an intermediate file).
If you want a GUI to represent your Tcl settings, then you'll just have to write your C# to understand the Tcl file.
Cheers,
Dave