>George,
>
>How do I use your scripting suggestion?
Fairly simple. Instantiate an instance of the Scripting.FileSystemObject. Use its GetFile method to return a file object using the correct long path. Then concatenate the string containing the ShortPath property and issue the Run method.
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
oFile = oFSO.GetFile(lcfile)
lcCmnd = "C:\ccdraft\bin\ccplot.exe -rk " + oFile.ShortPath
pdm_var.oProcess.Run(lcCmnd, 2, .T.)
George
Ubi caritas et amor, deus ibi est