on $0 to get the filename of the current program for quite a while, however, now I'm having a few problems. Although it all works perfectally from a DOS prompt, executing it under an apache server returns a dos filename (eg: guildmaster.cgi becomes (after an
To summerize my question, is there any way to get the long filename instead of the dos filename?