Sometimes
you need to compile a vbscript into an EXE. There are a few applications that
allow you to do this, however there is one already installed on the windows
build called iExpress.
Before using this, you need to make sure your
script works and launches what it is supposed to. E.g. if it launches Internet
Explorer with a specific URL.
Go to start menu > run and type iExpress and
press enter.
Next > until you are on Package
title. Here enter a title for your exe. Next >
No prompt. Next >
Do not display a license. Next >
Add – Here you will browse to your
vbscript. Next >
In the install program section, you need to
point to cscript.exe as this is what will run your script. So enter C:\Windows\System32\cscript.exe
“enter vbscript here.vbs”. Next >
Hidden. Next >
No message. Next >
Here you will select where you want to save
your EXE files. Then tick both boxes, click yes on the pop up and Next
>
No restart. Next >
Dont save. Next >
Next > and Finish
Now launch your EXE and check it works.
Comments
Post a Comment