CurrentDir()

BlitzMax Forums/BlitzMax Programming/CurrentDir()

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm not quite sure what you are asking, do you mean you want to get the full path of the executable? If so use AppArgs[0] will give you the name of the file being executed. I'm not sure if its the full path name or just the file name, in which case you can use RealPath:String().