Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help with ADIR command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00291643
Message ID:
00291829
Views:
24
>>>>>Another option is to use the Scripting.FileSystem option to open a Folder object, and then access the subfolders and files collections of the Folder object.
>>>>
>>>>Or create your own FileSystem objects ;-)
>>>
>>>Why bother - Scripting.FileSystemObject is built into the freely-redistributable WSH, and adds a ton of functionality!
>>
>>Ed,
>>
>>Can you explain what "Scripting.FileSystem" is. First time I hear of the concept.
>>
>
>The Scripting.FileSystemObject is an ActiveX component, part of the Windows Scripting Host. It makes a great deal of functionality regarding file systems available through an ActiveX interface. In order to use it, you'll need to install the WSH on all target systems (something I do now as a routine part of my installs) - the WSH is incorporated into Win98 and Win2K, and can be added to Win95 (requires either OSR2 or some patches that can be downloaded from Microsoft to install) and Win95 (NT SP3 or later). It's instlaled as a part of IE 4 or 5, and a downloadable, redistributable self-installing executable can be downloaded from msdn.microsoft.com/scripting
>
>The full documentation for Scripting.FileSystemObject is found in VBSCRIPT5.CHM, with the remainder of the WSH in WSH.CHM, both part of the MSDN library. See my FAQ entry on how to get an MSDN Library subscription if you do not have one now.
>
>If you look back over the past week, I posted some code that used Scrupting.FileSystemObject to recursively traverse a directory hierarchy. That might give you some idea of what it's designed to do.

Hey Ed,

That's VBSCRIP5.CHM. No 'T'.:-)
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform