Major Hostility,
Do you have any update on this? Thanks.
Dan L.
Edit: I think I found the answer for my request with these lines. Ignore my previous request. Thanks.
@echo off
netstat -an |find ":5906"|find /i "establ"
if %errorlevel%==1 goto hibernate
echo %date% %time% MVP is connected on port 5906. Will not suspend or hibernate. > hibernate.log
goto end
Do you have any update on this? Thanks.
Dan L.
Major Hostility Wrote:I started thinking about this and have a few questions.
First, would you want a single file across all active MVP devices, or a different one for each? I'm guessing one-for-all, but wanted to double check.
Second, should the file only exist while a device is "streaming", or should it exist when a device is connected, but "idle"?
Edit: I think I found the answer for my request with these lines. Ignore my previous request. Thanks.
@echo off
netstat -an |find ":5906"|find /i "establ"
if %errorlevel%==1 goto hibernate
echo %date% %time% MVP is connected on port 5906. Will not suspend or hibernate. > hibernate.log
goto end
Dell Dual Core 6400 XP Pro, PVR500, HVR-1600, MVPs on Belkin wireless bridge