Quick Nav
See Also
Installing on Windows
The Ejscript install package for Windows is an installation executable wrapped in a ZIP file called:
ejs-VERSION-BUILD-MS-WIN-i686.exe.zip
The distribution image contains the binary distribution, documentation and development libraries and headers in the one package. During installation you will have the option of installing the full package or portions of the distribution.
Installing the EXE Image
- Login with administrator privileges.
- Run winzip and extract the contents of the Zipped EXE install image to a folder of your choosing.
- Browse to the location holding the EXE install image and run it.
Removing Ejscript
- Login with administrator privileges
- Run the Add / Remove Programs applet from the control panel.
- Select the Embedthis Ejscript and choose remove.
Silent Installation
If you need to do batch or unattended installations, you can install Ejscript silently. Use the /silent switch to suppress questions and /verysilent to suppress all visual output.
Running Ejscript
To run the ejs shell:
- Select Program Files > Embedthis Ejscript > Embedthis Ejscript Shell:
- A command.com window will appear
- To exit the application, close the window

Other Commands
The installation will install five commands:
Name | Description |
---|---|
ejs | The Ejscript command shell. This command can parse and execute ejs scripts from files or typed interactively on the console. This command contains both the Ejscript compiler and virtual machine. |
ejsc | The Ejscript compiler. This command can compile scripts into byte code form for later running via ejsvm. |
ejsvm | The Ejscript virtual machine. This command executes Ejscript modules that have been compiled from scripts by the ec command. |
ejsmod | The Ejscript module manager. This command generates assembler source code listings, HTML documentation and symbolic slot offset header files. |
ejsweb | The Ejscript web framework generator and manager. This command assists to create Ejscript Web applications that use the Ejscript Web Framework. |