Finding the current programs path and filename 
Author Message
 Finding the current programs path and filename



Quote:
> I am writing a program that needs to be able to refer back to the itself.
> So I need the path and the filename.  I don't want to use CurDir and I
> don't want assume the filename is the same one I originally gave it.  Is
> there an API call?

> Thanks,

> Jacob


If Right$(App.Path,1)="\" Then
        strMe=App.Path & App.EXEName & ".EXE"
Else
        strMe=App.Path & "\" & App.EXEName & ".EXE"
End If
--
Please reply through the newsgroup.  The reply e-mail
address is garbage to reduce the spam rate.


Mon, 07 Feb 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Getting current task filename/path

2. find the filename of current desktop image!

3. Finding path of current database?

4. ADSI:GetObject network path not found reading info other than the current computer name

5. getting just the filename, not the filename path from the opendialog control

6. Setting the path to the path of the current application

7. Find the file path of a program file

8. Find Program's Path

9. finding the program path at runtime

10. finding program path

11. Finding the Program Path

12. How to check if a program is installed (or find it's path)

 

 
Powered by phpBB® Forum Software