>>>You ought to write a book on this kind of stuff! I'd buy it in a heart beat. Thanks George.
>>
>>Me??? Nope, I'm a newbie in this realm (still trying to figure a lot out). However, there has been some talk about a couple of us writing some of this sort of stuff up and posting it here. I know Ed Rauh has been working on a doc on Wiki. He's being my mentor with this.< g >
>
>I look forward to it. Maybe a new club is in order, say the ScriptingObjects and Tequilla club?
Hi,
Here some useful links to work with windows scripting stuff:
Shell object:http://msdn.microsoft.com/library/sdkdoc/shellcc/shell/Objects/Shell/Shell.htm#ShellWindows Scripting Hosthttp://wsh.glazier.co.nz/default.aspExamples of scripts, including file managementhttp://cwashington.netreach.net/script_repository/query.aspWritten below is a piece of VB code to copy a file.This code cam be easily rewritten in VFP. It displays Windows Copy box. This is an extract of code originally posted by someone else on cwashington's Web site. So it is not mine.
Set winShell = CreateObject("Shell.Application")
winShell.NameSpace("c:\Destination folder\").CopyHere "L:\Source folder\MyFile.dbf"
Set winShell = Nothing
HTH,
Igor Gelin
Database Developer