six demon bag
Wind, fire, all that kind of thing!
2013-10-30
Interactive VBScript Shell
Python's interactive mode is very convenient, because you can try simple stuff without having to write it to a script first. Since I have to do a lot of VBScript lately, I wanted to have something like that for VBScript, too.
I found this blog post that has almost exactly what I wanted, except for line continuation. Which is what I added (for my own convenience). You can download the modified script here.
Update: Added an Import()
procedure for loading/executing additional code from other VBScript files.
Update: vbsh
can now be customized with an optional init script %USERPROFILE%\init.vbs
.
Update: Added a function to look up keywords in the VBScript documentation (requires that script56.chm
is installed in the current working directory, the Windows help directory, or one of the directories in the %PATH%
). Note that you'll need the English language version of script56.chm
, since other language versions use different internal paths.
Posted 18:03 [permalink]