Page 1 of 1

Program's directory

Posted: Fri Jun 20, 2003 7:03 pm
by tony
How do I get the directory where my program is. I would like to know the directory where the .exe is located

Thanks,
Tony

Posted: Fri Jun 20, 2003 7:11 pm
by Num3
I think this is what you need:

Code: Select all

windir.s  = Space(512)
Getcurrentdirectory_(512, windir)
Debug windir

Posted: Fri Jun 20, 2003 9:09 pm
by Kale
Does no one read the Newbie FAQ?

viewtopic.php?t=4876