
Originally Posted by
rsava
Anybody played around with a batch file to delay start Boxee?
I need something kind of foolproof for when I am out of town and the box reboots like it did this morning. I would get a phone call that Boxee is broken and then I would have to have the discussion about turning cable back on (OH! The horrors!).
R Sava
Windows XP does not have any "sleep" command which would be nice so you could set the number of seconds to wait before launching Boxee. You can try something like the below code (which uses "ping" to emulate sleeping)
Code:
ping -n 15 localhost
start "c:\Program Files\Boxee\boxee.exe"
exit
You can adjust the number after -n to increase the amount of time Windows spends pinging itself. Use a rough estimation of half a second per ping.
The other option is to download the Windows 2003 Resource Kit and use "sleep.exe" from it. Put the sleep.exe into windows\system32 folder, then adjust the batch file to:
Code:
sleep 15
start "c:\Program Files\Boxee\boxee.exe"
exit
Where the value after sleep is in seconds.
Which ever you use, create the batch file (name it something like boxee.bat), and place that in your startup folder.
Hope this helps!
Bookmarks