General information
Category:
Coding, syntax & commands
The only time, that I know of, when fullpath() returns the default directory + file name is when it can't find the file.
You may want check the path just before FullPath() is called.
I guess we could call it a Feature :)
In code I usually test it with file(fullpath('somefile.txt')).
-Michael M. Emmons
>Correction
>
>I need to have the fullpath of an icon to be used in an OLE list view control. I have my path setup to point to the graphics sub directory, e.g. SET PATH TO 'g:\acmds\graphics;g:\acmds\data;g:\acmds\utils'
>
>setpath is on
>
>When I run the command FULLPATH('desktop.ico') in the development environment, from the command window I get 'g:\acmds\graphics\desktop.ico', but when I run it from the program I get 'g:\acmds\desktop,ico' and since there is no desktop.ico in the root directory the program will never establish an icon.
>
>Am I missing something on fullpath() or is there a bug/feature that I dont understand about it.
>
>TIA
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only