Problem with compiling through a batch (.bat) file
#1

Yo,
I want to compile my gm through a batch file to update some stuff like the date when the gamemode was compiled, and almsot everything works except the part with compiling -.-
I have this code:
Код:
"C:\Documents and Settings\XYZ\Desktop\SAMPServer\pawno\pawncc.exe" "gaymode.pwn" -r -w 203
It starts pawncc.exe properly, but the compiler gives errors:
Код:
203.p(0) : fatal error 100: cannot read from file: "203.p"

Compilation aborted.
1 Error.
So it somehow takes the parameters for compilation as the filename -.-
Removing these parameters kinda works, but then the compiler gives 26 errors and i dont get them when compiling through PAWNO.
I also tried leaving the parameters blank in the batch file and creating the file pawn.cfg in pawno directory with these parameters, but still it gave the same error.
Thanks in advance
Reply


Messages In This Thread
Problem with compiling through a batch (.bat) file - by gandzia - 01.01.2014, 14:04
Re: Problem with compiling through a batch (.bat) file - by NikO1 - 01.01.2014, 16:16
Re: Problem with compiling through a batch (.bat) file - by gandzia - 01.01.2014, 16:22

Forum Jump:


Users browsing this thread: 2 Guest(s)