Microsoft
Software
Hardware
Network
Question : Specify a Path
Hi,
I need to specify a path, the path should be in the folder Data in my own application folder.
What do I do wrong?
DataPath := '..\Data\'; <===================
dbUTF.Params.Add('PATH=' + DataPath);
Peter Kiers
Answer : Specify a Path
you are looking for a relative path to the current directory
DataPath := ExtractFilePath(ParamStr(0
)) + '\DATA\';
this will take directory from exe and add \data\
Random Solutions
Cisco ASA questions
ISA2006 - Register VPN-Clients with DNS
Best way to handle vanity urls in IIS?
HTML Multiselect Box
Google Analytics
backup exec 2010 on esxi
How to round numbers
HP Laptop w/ Vista freezing regularly
Need RHEL Samba 3.0 authenticate against AD/LDAP environment for mapping share
program returns false missing files after find the files