>Muchisimas gracias a ambos.
>ya he podido hacerlo.
>
>Solucion:
>
>
>xImage = thisform.text6.value + lcCadenaUsuario
>xImage = STRTRAN(xImage,"/","\")
>DIMENSION laDummy[1]
>IF (ADIR(laDummy, xImage))>=1
> *-------- Copia la imagen y sigue el poceso
>ENDIF
>
>
>
>Saludos.
Exacto, esa es la idea.
Mientras que file() te busca por el archivo en varias partes, adir() simple y llanamente te crea un array con los archivos especificados (del directorio especificado).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)