Re: from vbs to exe
- From: "mayayana" <mayayanaXX1a@xxxxxxxxxxxxxxxx>
- Date: Sat, 15 Oct 2005 20:01:15 GMT
There are some programs that package
a script into an EXE file. You can do it yourself
with most ZIP programs by putting the script
into a ZIP file and then creating a self-executing
zip from that. (Example: In Power Archiver you
can select Menu -> Actions -> Make .exe file.)
A self-executing zip provides for a command
line to be run when the file is opened. If you
enter the vbs file name as command line then
the self-executing zip will end up being an EXE
file that runs your script when it's double-clicked.
That will give it the appearance of an EXE but
it will not have the speed of an EXE, and it will
still be dependent on the Windows Script Host.
You can't actually compile a VBS file. Compiling
usually means to convert to "native" code, turning
your code into an EXE. A vbs is not programming
code that can be compiled. It's just text directions that
are interpreted by WScript.exe or CScript.exe.
Script is text-based programming.
The advantage of script, compared to using a
programming language that can be compiled to
an EXE, is that it's quick and easy to write, and
easy to edit when you need to change it.
The disadvantage is that it's relatively slow and
limited in what it can do.
Even if you could permanently package a script into
an EXE so that nobody could extract it, you would only
lose the advantages of script without gaining the
advantages of compiled code.
--
mayayanaXX1a@xxxxxxxxxxxxxxxx
(Remove Xs for return email.)
Simone <simtre@xxxxxxxxxx> wrote in message
news:ebYI31b0FHA.2640@xxxxxxxxxxxxxxxxxxxxxxx
> Can I compile a vbscrimpt in an exe file?
> Someone can suggest me a good free tool or a microsoft tools?
>
> Many Thaks
>
>
.
- References:
- from vbs to exe
- From: Simone
- from vbs to exe
- Prev by Date: from vbs to exe
- Next by Date: Re: Using WMI with SQL query and VBScript
- Previous by thread: from vbs to exe
- Next by thread: How to merge two files like the following
- Index(es):
Relevant Pages
|