>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 SETPATH('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
In fact, "fullpath" has nothing to do with its name refers. To be sure use file(), adir(), directory(). ie: ? fullpath("qwerty.zxc") would return curdir()+"qwerty.zxc" on every machine that "qwerty.zxc" never exists.
Cetin