PDA

View Full Version : Can I use 'postexec' to run a Windows executable?


Huntsman
November 12th, 2004, 05:08 PM
So the 'postexec CMD' command line switch tells Dom2 to execute a program after hosting, right? Will it work with a Windows executable?

Gandalf Parker
November 12th, 2004, 05:19 PM
Yes. Anything you can find and double-click to run can be called. Ive run batch files which copied games to backups, moved score.html to web dir, played a sound so I knew the turn was up (good for when you are hosting and playing so you know everyone got in and it hosted).

Huntsman
November 12th, 2004, 05:32 PM
Ooh, nice. Thanks for the info. I'm toying with the idea of writing a GUI utility for server admins, primarily for auto-emailing players after hosting but there's potential for other stuff too, like setting up new games, etc..

Or does something like this already exist?