Thanks for all the comments guys.

Shawn I never bothered to convert the date math stuff as the functionality is duplicated in the ScriptLogic SerialDate() UDF.

Peter you should be able to run any command as the interpreter. To ensure that the options are not used by KiXcrypt enclose the command in speech marks. Something like:

code:
kixcrypt myscript.kix "wkix32.exe -i .\%%s"

should work. If you are having trouble with the command line use the "-d" flag to generate crypted.exe. When you run crypted.exe it will display the command line it is using.

cj I considered including the kix32 executable earlier on but decided against it. It didn't really add anything so I didn't bother. Having said that it would be very simple to have an option to include the binary (any binary for that matter). For KiXtart specifically there are a couple of issues:
1) Win9x clients will need to have the DLLs present.
2) After all his good works I really don't want to undermine Ruuds "CareWare" policy, and a tool that allows a hidden distribution of KiXtart, however benign, would make me uneasy. Maybe I'm being too sensitive, I dunno. Ruud, if you are following this thread maybe you'd like to comment.

I'm in two minds about it. If there is enough interest and no objections I'll add the functionality and leave it to the user's conscience.

[ 04 December 2001: Message edited by: Richard Howarth ]