>George,
>
>When I run this
>
>oProcess2 = CreateObject("Scripting.FileSystemObject")
>f = oProcess2.GetFile("C:\temp\tempjan.bat")
>f2 = f.ShortPath
>
>I get an error that says Variable ShortPath cannot be found.
>
>Any ideas?
My guess is that VFP is interpretting "f" as a work area as I get the same error. If you change "f" to something like "f1" it works.
Mark McCasland
Midlothian, TX USA