Ive searched far and wide but couldnt find any hint of source code to do what is a very straightforward thing in pbcc/pbdll !
My program needs to determine its filename. For example,
And if I ran the compiled exe from c:\file.exe, then the output would say:
Filename = c:\file.exe
Thanks in advance!
------------------
My program needs to determine its filename. For example,
Code:
$COMPILE EXE PRINT "Filename = " & Exename$
Filename = c:\file.exe
Thanks in advance!
------------------
Comment