Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run Command
Message
 
 
To
20/02/2004 11:57:16
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00879199
Message ID:
00879308
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform