Program's directory
Posted: Fri Jun 20, 2003 7:03 pm
How do I get the directory where my program is. I would like to know the directory where the .exe is located
Thanks,
Tony
Thanks,
Tony
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
windir.s = Space(512)
Getcurrentdirectory_(512, windir)
Debug windir