Is there any function that gives the EXE folder ?
I have generated an EXE on the server then a shortcut in local drive C:\ .
This shortcut starts in C:\MyDocuments (anyfolder). I'm trying to read a
file located at the same place as the EXE so I need to get the full path
name of the EXE.
I tried VisDosGetCurDir(SalFileGetCurDrive()) but this returns the work
folder (C:\MyDocuments).
I use the shortcut to start the application (this is how it works)
Can anyone help ?
Thanx
"GG" <g...@gg.com> wrote in message
news:8p2ojo$6s7$1...@s1.read.news.oleane.net...
Is there anyother solution ?
I was thinking of VisDosBuildFullName but it doesn't seem to work
Mark Kirby a écrit dans le message <8p4d2q$fu...@news.abbott.com>...
Call VisDosSplitPath( strArgArray[0], sDrive, sDir, sName, sExt )
Set sPath = sDrive || sDir
HTH
--
Klaus-Werner Konrad
(ohne pfiffigen Spruch)