>Hi George,
>I was actually looking for implementing the VFP ADIR() and ASORT() using Shell Scripting like VbScript... Sorry about the confusion.
>I did not have problem simulating ADIR() in the Script using WSH FileSystem Object but having problem with the ASORT() unless I have to write a sorting routine from scratch... I was wondering if the step to write the sorting routine can be eliminated.
>
>Thanks.
>
>
Kam,
No prob. As both Ed and I mentioned, you can use the Dictionary object in this case.
In addition to what Ed told you about resources on the WSH, there are additional ones available through his sig block. Further, (SET SHAMELESS SELFSERVING PLUG ON< g >) you might want to look at the article I wrote (with Ed's able assistance, I might add), in the Sept., 2000 VFUG (
www.vfug.org) newsletter. This issue is currently under construction. It's the first of five articles that Ed and I are doing on the WSH. The article is basically an overview, but also lists some other resources.(SET SHAMELESS SELFSERVING PLUG OFF).
George
Ubi caritas et amor, deus ibi est