1.

Solve : cant compile the program using batch file?

Answer»

hi friends,
i tried to make a command string using batch file to run a C program. but i am not getting  wht exactly i do need.

the batch file(SAY tcrun.bat) is as below

echo off
cd c:\tc\bin
tcc -Lc:\tc\lib -Ic:\tc\include


and WROTE this at command LINE to compile file.C
tcrun.bat file.c

but i got the ERROR   
Error: No file name is given

someone PLEASE nail  the mistake out I am doing.

regards
san



Discussion

No Comment Found