not $() , this was notepad++ syntax.
"Compiler requires administrator privileges" comes also
if the compiler do not understand the path parameter.
i believe the sourcecode.txt is a temp file, the compiler create
at compile.
i start the compiler from a user session, not as admin.
u get compiler message or output from it?
"D:\The Game Creators\AGK108.21\IDE\Compiler\AGKCompiler.exe" -run G:\dev\games\GameCreator\_branch\compiler\AGk\main.agc
maybe u need a cd to the project path first.
the normal compiler call from agk ide is just
"D:\The Game Creators\AGK108.21\IDE\Compiler\AGKCompiler.exe" -run main.agc
AGK 108 (B)19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670