Re: from vbs to exe



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
>
>


.



Relevant Pages

  • Re: disable the Print Screen function
    ... Request if you can share stepwise procedure to compile this exe. ... Task Manager is used to end the process, ... Can the script be altered to prevent one of both of these workarounds? ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Compiled perl executable
    ... same script in 5.8.6 only runs one copy. ... see that one is the child of the other: the parent is the instance you ... changed as it did not do this for 5.8.6 (only ran one exe). ... compile time option that would achieve this. ...
    (comp.lang.perl.misc)
  • Re: about vbs to exe
    ... it's not programming code. ... It won't compile. ... If you want a VBS to look and act like an EXE you ... EXE to anyone running the script, it's still a VBS, ...
    (microsoft.public.scripting.wsh)
  • VBS compiler
    ... I didn't know you could compile a VBS script into an .exe. ...
    (microsoft.public.windows.server.scripting)
  • Re: GoTo in Java
    ... smaller, decomposed, functionality. ... maintaining script, ... > It used a component programming model and provided a visual development ... > package graphs as macros for use in other graphs. ...
    (comp.lang.cobol)