You can also do it by calling QBASIC -
I actually use this in a batch file, but if you used FSO to write out a TEMP .batch file, you could execute it. Here's what the batch file needs to look like. PS - This works on NT 4.0, that I know of, because it has the "qbasic.exe" file in C:\WINNT\system32. I've also made it work on Win2K, which doesn't have QBASIC, but you can copy the file in and it works like a charm.
@echo off
>%temp%\sleep.$@$ echo sleep 5
>>%temp%\sleep.$@$ echo system
qbasic /run %temp%\sleep.$@$
Hope it helps.