You would need to write your own conversion program.
The example you listed would contain errors as follows:
1) The loop indexes do not match. In C, the loop is zero to nine. In vbs, one to ten. If one is using "i" as an index into an array for example, the conversion will definitely fail.
2) "For" will not compile in most (if any) C compilers. "for" will.
MyVoice, i think asking more than help, you need to be good at string function of vbscript and then file handling to achieve something of this kind but in any case it would not be possible for you to convert the statements inside the loop to vbscript as the 2 languages are quite different
MyVoice, there are some excellent tutorials on the web you can search for to introduce you to VBScript. If you are familiar with C/TSL based programming to a decent level, it shouldn't be difficult for you to convert your manner of scripting.
There are also a ton of books that you can pick up that are a great jumping point into VBScript (just about any "teach yourself VBScript in ...." book will give you what you need to transfer the concepts you state to know in C/TSL into VBScript)
Insanity: doing the same thing over and over again and expecting different results