Archive: install path


install path
i have a variable that contains a path like this "c:\myapp\maindir\myexe.exe" and i would like to extract file path to obtain only "c:\myapp\maindir" or this "c:\myapp\maindir\".

i read and read the help with researchs without success !!!
i am desperate !!! :'(


See "Appendix B: Useful Functions" in the documentation for "Get Parent Directory" function. Or you can use StrCpy to remove the program file name part of the string.