1.

Solve : goto label%time%??

Answer»

For some reason when I run this it just exits. Is it because the times I have aren't the current times?
If it is (or not) Do you know any way of having this running all the time?? I I had "goto begin" at the end Would that werk???:

Code: [Select]@echo off
:begin
goto LABEL%time%

:label12:00:00.00
start "C:\Documents and Settings\User\My Documents\lunch.bmp"
goto begin

:label06:00:00.00
start "C:\Documents and Settings\User\My Documents\605.bmp"
goto beginthanks!Quote

For some reason when I run this it just exits. Is it because the times I have aren't the current times?
If it is (or not) Do you know any way of having this running all the time?? I I had "goto begin" at the end Would that werk???:

Code: [Select]@echo off
:begin
goto label%time%

:label12:00:00.00
start "C:\Documents and Settings\User\My Documents\lunch.bmp"
goto begin

:label06:00:00.00
start "C:\Documents and Settings\User\My Documents\605.bmp"
goto beginthanks!
SIDEWINDER????? :-? :-? :-? :-?You already have an unending loop. What do you think the chances of GETTING the GOTO statement to run at exactly 12:00:00.00 (down to the millisecond) are?

I would suggest you use the task scheduler to run lunch.bmp and 605.bmp at the correct time.

Good luck. 8-)
I just realised that too!!Quote from: Mr. Google on April 02, 2006, 08:30:38 PM
I just realised that too!!

Yea, right! I was so stupid back then. I'm soooo sure that I realized that. HAHAMr Google.........Why are you bringing back old topics? Quote
:label12:00:00.00

And this is a broken label

Quote from: Carbon Dudeoxide on September 02, 2008, 03:05:34 AM
Mr Google.........Why are you bringing back old topics?

I thought this was FUNNY? I aint laughing. Quote from: Carbon Dudeoxide on September 02, 2008, 07:34:54 AM
I aint laughing.

Well i am...


Discussion

No Comment Found