Error log rotator, using VBScript

hello,

I'm a web programmer, and i'm trying to create a script that will rotate our error logs nightly. i have working bash script of what i'm trying to accomplish, but i hav no knowlegde of bash or VBScript. i need it to work under WSH and Apache. can anyone give me a hand??