Hi Marten,
>To get rid of this problem I can do a SET DEFAULT TO... in the beginning of my program. But how do I get the "long directory name"? Becouse the curdir() returns the short name if it was started from the icon with the short name and returns the long name in other cases.
I do not have help in front of me, but look at the PROGRAM() function. There should be a SYS() function in the "See Also". That would return the filename of the exe or whatever your running. Then if you do a JUSTPATH() on that, it may work. Let me know how it turns out.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement