>>cd otherdirectory works
>>cd ..
>>does not work in the prg, but it does in the command window.
>>Where am I wrong?
>
>Typically, it indicates that you're in the root directory of the currently selected drive; this could be a real root directory, the root of a mapped share, or a UNC reference at the sharename level already.
>
>Other causes in network environments include not having rights to the parent directory (in Novell networks, you have no read/write/manage rights, but do have search rights enabling you to get to lower level directories where you do have rights) or under NT/Win2K you've been denied permissions in the folder but have permissions lower in the directory tree, or you're using a file system that doesn't support tgree structures (eg an elderly CDOS/CCPM server that makes a CP/M-style volume available - there is no concept of a tree hierarchy in the file system.)
>
>You can try the following:
>
>
IF ! FULLPATH('..') == FULLPATH('.')
> CD ..
A better choice would be:
CD (FULLPATH('..'))
>ENDIF
>
>>Thanx in advance