getting the App.path

General FreeBASIC programming questions.
Post Reply
Gablea
Posts: 1104
Joined: Apr 06, 2010 0:05
Location: Northampton, United Kingdom
Contact:

getting the App.path

Post by Gablea »

Hi all,

I need to get the App.path for my application and it must be so the code can run in Windows, DOS & Linux

I need to know the lcaotion as i load setup information from given folders at start of the application.

Any advice most welcome

Andy
phishguy
Posts: 1201
Joined: May 05, 2006 16:12
Location: West Richland, Wa

Post by phishguy »

The command is exepath.
rolliebollocks
Posts: 2655
Joined: Aug 28, 2008 10:54
Location: new york

Post by rolliebollocks »

If I'm not mistaken, also...

#IFDEF _WIN_32_
#IFDEF _DOS_
#IFDEF _LINUX_

...could be useful.
Post Reply