.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Can I use 'postexec' to run a Windows executable? (http://forum.shrapnelgames.com/showthread.php?t=21652)

Huntsman November 12th, 2004 05:08 PM

Can I use \'postexec\' to run a Windows executable?
 
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

Re: Can I use \'postexec\' to run a Windows executab
 
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

Re: Can I use \'postexec\' to run a Windows executab
 
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?


All times are GMT -4. The time now is 10:23 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.