-
.bat
I just found this out!!:
C:windows>edit
(in EDIT)
:start
REM...Type your message here
GOTO start
I like batch files now
-
You're a sad, strange little man...
-
ah, but isn't that what ctrl-break is for?
-
Insane Member
"...and you have my pity."
hehe...it was a good movie 
Warthog
-
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.
-
Ultimate Member
to get out of the loops press ctrl+C to quit.
Paul
-
Am I missing something... I don't have windows/edit...
-
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:>
-
Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke
|
Bookmarks