Send to a Friend

XOIIO's avatar

Why wont this batch script work?

Asked by XOIIO (18328points) January 3rd, 2011

I am making an alarm/timer script, and this line isn’t working.:

IF ’%TIME%’==‘0:18:05.20’ (GOTO yes) ELSE (GOTO LOOP)

It works when I put %DATE% in instead like this:

IF ’%DATE%’==‘03/01/2011’ (GOTO yes) ELSE (GOTO LOOP)

It quits really quickly with the first line, but i was able to see what is says, and it says

0:18:05.20 was unexpected at this time.

What’s going wrong?

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.