Running a .bat file is possible using the XLights scheduler. (Matt added it back in ver 2011C, and it's still there in the latest version)... please look at #5 below
xLights 2011c for Windows is now available for download from SourceForge:
It contains the following changes:
1.If you have changed the output order in Vixen, xLights now understands this and will play back the sequence correctly.
2.If you are using profiles in Vixen, you will now need to copy your .pro file to the xLights directory (this supports the change above).
3.There was a bug in LOR playback when using unit ids above 80. This is now fixed.
4.xLights now remembers the state of the "Run Schedule" check box.
5.There is now an EXEC command available when using scripts. This runs an operating system command. So if you want to write the name of the currently playing sequence to a text file, select Playlist > Custom Script from the xScheduler menu. Then you can do something like on line 225:
220 PRINT "Playing:",ITEMNAME$(NextItem)
225 EXEC "CMD /C ECHO " + ITEMNAME$(NextItem) + " >c:\nowplaying.txt"
230 PLAYITEM NextItem
6.When defining your lighting networks, you can now choose a port called "NotConnected". This will allow you to test xScheduler functionality without actually having your dongles connected to your PC.I use the following to run a .bat file that changes the titles on my scrolling LED sign and also send RDS data to my EDM transmitter. Let me know if you have questions

Here is that part of the script in the scheduler/show:
215 PRINT "At:", FORMATDATETIME$(NOW,5)
220 PRINT "Playing:",ITEMNAME$(NextItem)
225 EXEC "C:\LSP\" + ITEMNAME$(NextItem) + ".bat"
230 PLAYITEM NextItemHere is a .bat file that runs:
start C:\SLC16com.exe COM4 {IMMEDIATE}{BRIGHTRED}Tune your radio to {BRIGHTGREEN}93.5 FM {BRIGHTRED}to listen to the lights... {BRIGHTYELLOW}Now Playing: {BRIGHTGREEN} Christmas Can-Can{BRIGHTRED} by {BRIGHTGREEN}Straight, No Chasers...
copy C:\LSP\can_can.txt C:\lsp\rds.txtAnd here is the text file that the .bat file calls:
Christmas Can-Can by Straight, No Chasers...Hope this helps (and makes sense

)
Dan