home *** CD-ROM | disk | FTP | other *** search
-
- Usage: cscript {options} scriptname
-
- Cscript takes a script and turns it into an executable. It is meant to be a
- subsitute for systems which do not have the Unix '#!' automatic interpreter
- invocation feature.
-
- The executable basically spits the script into a temporary file and invokes
- the specified interpreter on it.
-
- Options:
-
- -i <name> : Specify an alternate interpreter. Default is "perl"
- -o <name> : Specify an alternate program name. Default is script name with
- any "." suffix stripped. (i.e. playmod.pl -> playmod)
- -v : Verbose mode.
- -c : Produce C code only. Do Not try to invoke default C compiler
- (GCC).
-
- If the default interpreter is not perl and you do not wish to use the -i
- option, you can just put a Unix "#!/interpreter_pathspec" type line in the
- file and cscript will try to use that instead. (provided the scripting
- language understands '#' as a comment :^)
-
- For further documentation, see the source code. :^)
-
- Please let me know if this program is useful to you!
-
- -KTD
-