Quote:
Originally Posted by Dude111
I looked at the BATCH file and it had this insane line: "IF ERROR THEN PAUSE" so whenever something happend it would just STOP.... Totally stupid!!
|
Not "totally stupid" in a batch file, have done the same many times myself.
If the batch file is run from a shortcut in Windows then the command window will just close so no chance to see the error.
Or if there are more commands after the error it could have scrolled off the top of the screen, again never to be seen!
I also like "the BATCH file" like there is only ever one!!
---------- Post added at 15:58 ---------- Previous post was at 15:41 ----------
We had Atari STs when I was doing my A-Level Computer Science course at college, would put an existing project disk into the A: drive to speed up booting, then promptly format it whilst still holding the new floppy in my hand!
As a developer, many many things, but all the usual like:
Deleting records from the live database instead of the test.
Running a SQL table update and forgetting the WHERE clause so every record updated.
Powering off a test server one day in the server room as it was just normal desktop PC sat on a desk, this was the day when a power switch was a proper hardware switch and I stood there holing the button in as I realised what I had done, but had to let go eventually!
While working on the helpdesk one day had a call from the Chief Exec, some error with a file (can't remember exact problem) so a ran a check disk and it ended up pretty much wiping everything