All good points. To Jooel's point regarding freeform, I just about gave up yesterday when I tried figured out how to parse KiX's ability to
$ret=shell('cmd /c CD "\My Folder\Jim's Stuff" & Dir /b & Pause')
...Emphasis on the apostrophe and that doesn't even cover multiline strings.
To Maciep's point, there is just some stuff it's not worth converting, such as Select Case statements where the methodolgy behind the command is completely different. In those cases I'm just going to slap a comment at the end of the line stating that it needs a manual approach.
Shawn, I'm way ahead of you buddy. I started a project on SF to do exactly that. vbscript.sf.net
But I am going to do everything: commands, functions, macros and selected udf's. The CVS is mess and I have a ticket in for complete removal so I can start clean. Check back next week sometime. I'm just about finished with the commands and am moving on to functions as we speak. My intent is to have a library to emulate kix in vbs do to vbs sucking so hard. (For instance, the Set commands (set,setm,setl) are proving a bit difficult to convert cleanly...)
Les, my dr. evil avatar is far from my actual appearance (unfortunately for me) and the hair pulling is in full stride. The great thing about using VBScript is that you actually learn to despise it once you start using it a lot hence my need to create a "KiX like" experience. My hands are tied.
_________________________
-Jim
...the sort of general malaise that only the genius possess and the insane lament.