I would think anything you can do from a batch file, you could do with WSH. I've always just created an VFP exe that uses WSH to accomplish whatever DOS functionality I've needed.
PF
>Is it pssible to make a VFP9 console app? Can it be run fro a DOS command window?
(On an infant's shirt): Already smarter than Bush