Re: Automatic display resolution settings



Cleaning up after myself, shorter version that will run on Windows 2000.

======================================================================
@echo off
for /f "tokens=1 delims=/.- " %%A in ('echo %date%') do (set day=%%A)
for /f "tokens=1-2 delims=:." %%a in ('echo %time%') do (set tm=%%a%%b)
if /i %day%==sun goto peekaboo
if /i %day%==sat goto peekaboo
if /i %tm% LSS 915 goto peekaboo
if /i %tm% GTR 1515 goto peekaboo
reschangecon.exe -width=800 -height=600
goto :eof
:peekaboo
reschangecon.exe -width=1024 -height=768

================================================================================

reschangecon.exe is available here: http://www.12noon.com/reschange.htm

John


Dear experts,
I am not sure if this is the right group to ask this question.
I have an unusual requirement.
Whenever I start my machine between 9:30 AM to 3:15 PM on Monday through
Friday, I want the machine to boot up with 800x600 resolution.
At all other times, it should boot up with 1024x768 resolution.
A little bit of programming is OK with me.
I want this done badly!
Any takers?
Thanks in advance for your help.
If this is not the right group to ask this question, please guide me as to
where should I post this question.
Regards,
AppaBalwant




.