Hi,
Is there a command to read the path from where my program is started?? I can't find it anywhere in the help files or documentation...
Thanks!
Jurgen
Program directory?
Taken from another thread...
Code: Select all
Directory$ = Space(500)
GetCurrentDirectory_(500, @Directory$)
If Right(Directory$, 1) <> "\": Directory$ + "\": EndIf
Debug Directory$
AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
-
- Enthusiast
- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
Also take a look at the CodeArchive on http://www.purearea.net
There are a lot more Snippets and Tips that could be useful for you and that aren't mentioned in the help (because a lot of them are Windows only, i.e. API Stuff).
There are a lot more Snippets and Tips that could be useful for you and that aren't mentioned in the help (because a lot of them are Windows only, i.e. API Stuff).