are batch file writing different in windows xp and dos 7.1
Posted: 23 Jun 2010 00:43
when i run this bat file in windows command prompt it works fine when i run it from dos 7.1 prompt i get syntex errors
anyone know why?
thanks
anyone know why?
thanks
Code: Select all
@echo off
:start
cls
echo Input password:
IF %DATE:~0,3%==Mon goto mond
IF %DATE:~0,3%==Tue goto tues
IF %DATE:~0,3%==Wed goto wedd
IF %DATE:~0,3%==Thu goto thur
IF %DATE:~0,3%==Fri goto frid
IF %DATE:~0,3%==Sat goto sate
IF %DATE:~0,3%==Sun goto sund