* assumes the cDataField is part of a table with the alias AppData >* the data field allowed the path to be stored with or without the drive specifier. >lcpath = AppData.cDataField >IF NOT EMPTY(JUSTDRIVE(lcpath)) > lcpath = SUBSTR(lcpath, 3) && Remove the drive from the path >ENDIF >lndrive = 67 && ASCII 'C' >lnlast = 90 && ASCII 'Z' >llfound = .F. >lcresult = "" >DO WHILE NOT llfound AND lndrive < lnlast > lndrive = lndrive + 1 > IF DRIVETYPE(CHR(lndrive)) = 4 && Network drive > llfound = (DIRECTORY(CHR(lndrive) + ":" + lcpath)) > ENDIF >ENDDO >IF llfound > lcresult = CHR(lndrive) + ":" + lcpath >ELSE > lcresult = lcpath >ENDIFIn the above you could use logic utilizing the JUSTDRIVE() function to determine if there was a drive mapped. If so, you'd simply use the path provided. Otherwise, use the UNC plus the path.