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
Parallel port to usb port adapter for Printer?
Oracle Join null rows.
Dell PowerEdge Perc 4e/Di RAID 1 expansion
How do I modify textboxes/labels in an asp:repeater footertemplate through javascript (client side)
Sending and receiving limits on Exchange users internally and externally
Linux/php serial port read - How to stop fread() waiting forever if no new data?
Is it possible to mirror two physical disks?
Windows could not finish configuring the system, Windows 7 Sysprep error
usercontrols, docking and scrolling problems
Page size in sybase