Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What approach is recommended for scripting from VFP
Message
From
25/05/2008 22:37:27
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01319352
Message ID:
01319454
Views:
19
Hi again Sergey,

Just ran into an example of the kind of scripting I'd like to know how to do quick and dirty.

I found a lot of surely obsolete files in the GETENV('TEMP') directory and want to figure out which processes left them behind. A first cut may be a query to list the file dates, content etc, and I want to do it from the VFP development environment with a short procedure that maybe calls WMI to do the work. Hey, a LINQ style query from VFP :)

Alex




>What kind of scripting aare you interested in?
>
>>
>>Thank you for the help on the solution to copy an open DBC using Scripting.
>>
>>This is a more general question about what is the best approach to take advantage of windows scripting. There are some many similar approaches for scripting that provide similar services and it is confusing. You just introduced me to "Scripting", but there is also "WScript", "WSH", Powershell, and who knows how many more. Many of them seem to be different attempts by MS over time to get scripting right for javascript, VB, etc. Can you, or anyone else here, provide me with a high level guide and which approach you recommend to use from VFP and which for standalone scripting files that are to be called from windows explorer?
>>
>>TIA,
>>
>>Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform