Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Mar : Replace kluge with elegance
| Subject: | Replace kluge with elegance |
| Posted by: | "Crazy Horse's crazier little brother" (cshann..@d4sw.com) |
| Date: | Tue, 29 Mar 2005 15:06:11 |
I'm doing this:
sPath := ParamStr(0);
sPath := StringReplace(sPath, 'Patients.exe', '', [rfReplaceAll]);
What's the preferred way of getting the path only (sans the .exe name)?
--
Download Blackbird Crow Raven's book
"STILL CASTING SHADOWS: Two American Families 1620-2006"
here: http://www.winsite.com/bin/Info?22000000036712