how do i run a shell command from inside a vbs file?

'The following code throws a type mismatch error on the keyword shell
for i=0 to count-1
call shell(....)
next


any help is welcome!

Re: shell from vbs by Ray

Ray
Wed Sep 17 12:28:44 CDT 2003

Set oShell = CreateObject("WScript.Shell")
oShell.Run "your command here."

http://msdn.microsoft.com/library/en-us/script56/html/wsmthrun.asp

Ray at work

"dercon" <dercon@astutesolutions.com> wrote in message
news:90e53b5a.0309170918.6fd2eebd@posting.google.com...
> how do i run a shell command from inside a vbs file?
>
> 'The following code throws a type mismatch error on the keyword shell
> for i=0 to count-1
> call shell(....)
> next
>
>
> any help is welcome!