Click to See Complete Forum and Search --> : .bat
blind to truth
06-18-2000, 05:19 PM
I just found this out!!:
C:windows>edit
(in EDIT)
:start
REM...Type your message here
GOTO start
I like batch files now http://sysopt.earthweb.com/forum/smile.gif
fragnaked
06-18-2000, 05:23 PM
You're a sad, strange little man... http://sysopt.earthweb.com/forum/wink.gif
ghostface
06-18-2000, 06:42 PM
ah, but isn't that what ctrl-break is for?
Warthog
06-18-2000, 07:56 PM
"...and you have my pity."
hehe...it was a good movie http://sysopt.earthweb.com/forum/smile.gif
Warthog
fragnaked
06-18-2000, 09:15 PM
Hey blind to truth, have you tried this batch file yet? What happens?
I'll tell ya...
It doesn't do anythint except loop.
It doesn't matter what you put after REM cuz it won't show up.... REM is for putting in REMARKS or document what the file is about or whatever without the user seeing.
If you want to print something to the screen, try using ECHO <whatever you want to say>
Seriously, batch file programming can be fun. Good luck with your new found play-thing. http://sysopt.earthweb.com/forum/wink.gif
SoopaStar
06-19-2000, 01:59 PM
to get out of the loops press ctrl+C to quit.
Paul
rtyp3
06-19-2000, 05:00 PM
Am I missing something... I don't have windows/edit...
blind to truth
06-19-2000, 05:11 PM
you dont? are you in DOS? I had a computer with windows that wouldnt recognize any other drive in windows DOS than C:> and A:>
You have to put @echo off at the very begining to keep from seeing every line of the .bat file when you execute it. Then echo (your message):
:start
@echo off
echo SYSOPT IS COOL
goto start
SysOpt.com
Copyright Internet.com Inc. All Rights Reserved.