in reply to Prevent Users from Exiting Windows Script
Using wperl as the executable avoids the open DOS window issue. The user can still go into the task manager and kill your app if they have appropriate rights but this is generally harder to do. Running your app as a service may also be worth considering.