Directory of the executable

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Nico
Enthusiast
Enthusiast
Posts: 274
Joined: Sun Jan 11, 2004 11:34 am
Location: France

Directory of the executable

Post by Nico »

A command to know the directory of the executable.

Because the GetCurrentDirectory() is modifiable and not usable in a library for example.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You can try ProgramFileName() which should return what you need.
Nico
Enthusiast
Enthusiast
Posts: 274
Joined: Sun Jan 11, 2004 11:34 am
Location: France

Post by Nico »

:oops:
Post Reply