File Name macro tags
Posted: Fri Jan 28, 2005 6:40 pm
Hi,
I am using Borland BP7. When use "$FN" in my command line the compiler complains even though the debug screen (nice featute by the way} reports the command line is correct. I suspect that the cpmmand line is just too long.
The reported error is --> Error 14: Invalid filename (c:\documents and settings\administrator.athlon1800\my documents\nextherm\NEXTHERM.PAS).
When I hard code the base file name into the compiler command all works well. So I tried the $PF and $PB macro tags but these macro tags appear to me empty strings. Is there a way to make this work?
Thanks,
Tim
I am using Borland BP7. When use "$FN" in my command line the compiler complains even though the debug screen (nice featute by the way} reports the command line is correct. I suspect that the cpmmand line is just too long.
The reported error is --> Error 14: Invalid filename (c:\documents and settings\administrator.athlon1800\my documents\nextherm\NEXTHERM.PAS).
When I hard code the base file name into the compiler command all works well. So I tried the $PF and $PB macro tags but these macro tags appear to me empty strings. Is there a way to make this work?
Thanks,
Tim