Subj : TP Code To : Art Johnston From : Neil Santos Date : Wed Apr 24 2002 05:30 pm Captain's Log, Star Date 04-23-02 19:42 :: ART JOHNSTON said... AJ> He needs to use, "PARAMSTR(0)" as his path with FSPLIT. AJ> The example that he was converting from used "PARAMSTR(0)" to return AJ> the path and file name of the executing program. screw that first function i posted. i was sleepy. but the second function could actually work. with a bit of modification, `ret_pathval()' could do what the original problem was meant to. i was gunning for a more general approach. Sean could do the required mo- difications to the second post i made, so that it does what he wants it to quite easily. -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/IT/TW/S d+(-) s+: a--- C++++ ULC++>+++ P++ L-(++) E- W+++(--) N-- !o K- w++(---) O- !M-- V? PS+(+++) PE-- Y-- PGP-- t*(+++) 5-- X- R* tv+ b++>+++ DI+>+++ D--- G e>+++++ h!>++ r+ y?(**) ------END GEEK CODE BLOCK------ .... I don't jog -- it makes my beer all foamy --- MultiMail/Win32 v0.43 * Origin: The File Bank BBS! Makati. Philippines +63-2-896-3116 (6:751/321) .