Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
He's playing a game called IRL. Great graphics, *censored* gameplay.
I remember reading somewhere on CH about how too many remarks will actually lagg the script, but if you do::Your Remark Hereit completely skips the line. Remark gets read through, but not executed...
When you start talking with us "old-schoolers" you will hear some funny stories.I was working for ITT Servcom in the early 80's and I was in a bank presidents office one day when I noticed a bright colored DOS menu on his computer screen.I asked "How do you do that" and for the next hour, I sat there getting my first formal training in DOS batch file and menu creation, from a Bank President.A practical use of the @ sign would be to blank out just one line, in a batch file where all the other lines are being echoed to the screen.When you start a batch file with Echo OFF, you put the @ sign at the start of the line so the command Echo Off won't be echo'ed to the screen.I was taught to put:@Echo Offclsat the beginning of every batch file. I do that to this very day.It clears the screen ( CLS ) and keeps it clean while the batch file runs, unless you instruct it to echo certain lines to the screen.For batch file testing, you may want to disable the @Echo Off command during the testing procedure. Then you can see if there are any error messages to your commands.To disable any line, just put two colons ( :: ) at the beginning of the line and DOS will totally ignore that line. If you use REM, then DOS will continue to read the entire line, even though it will not (usually) execute it. There are a few instances where the line or part of it MAY be executed, that's why I never use REM, but always the double colon. Now it's just a habit.Also, the batch file runs faster if DOS doesn't have to read the remark lines.Cheers Mates, keep up the good work!The Shadow
I don't think this person is an expert, the advice about using :: instead of REM is a mistake, as I pointed out later in that thread.
run each bat 50000 times
Rem.bat@echo offREM a REM remarkDot.bat@echo off:: a dot remarkrun each bat 50000 timesREM.batstart 17:59:33.90finish 18:06:41.407 minutes 7.5 seconds (427.50 seconds)Dot.batstart 18:06:41.43finish 18:14:41.688 minutes 0.25 seconds (480.25 seconds)So the dots were slower.Moral: Don't believe everything you read on web forums.
How do you run a batch file 5000 times?
@echo offecho run each bat %1 timesecho.echo REM.batecho start %time%for /L %%N in (1,1,%1) do call rem.batecho finish %time%echo.echo Dot.batecho start %time%for /L %%N in (1,1,%1) do call dot.bat %%Necho finish %time%echo.
While model aneroid way it?